Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Static Public Member Functions | List of all members
StockColor Class Reference

`#include <color.h>`

## Static Public Member Functions
static bool | isColor (const char *pStockColorName)
static const ColorF & | colorF (const char *pStockColorName)
static const ColorI & | colorI (const char *pStockColorName)
static StringTableEntry | name (const ColorF &color)
static StringTableEntry | name (const ColorI &color)
static S32 | getCount (void)
static const StockColorItem * | getColorItem (const S32 index)
static void | create (void)
static void | destroy (void)

## Member Function Documentation

const ColorF & colorF | ( | const char * | pStockColorName | ) |
| static

const ColorI & colorI | ( | const char * | pStockColorName | ) |
| static

void create | ( | void |  | ) |
| static

void destroy | ( | void |  | ) |
| static

const StockColorItem * getColorItem | ( | const S32 | index | ) |
| static

S32 getCount | ( | void |  | ) |
| static

bool isColor | ( | const char * | pStockColorName | ) |
| static

StringTableEntry name | ( | const ColorF & | color | ) |
| static

StringTableEntry name | ( | const ColorI & | color | ) |
| static

The documentation for this class was generated from the following files:

- graphics/color.h
- graphics/color.cc