static Palette* SF_STDCALL Create(unsigned colorCount, bool hasAlpha, MemoryHeap* pheap = 0);
Create creates a new color map of specified size.
|
Parameters |
Description |
|
unsigned colorCount |
Number of colors in the color map. |
|
bool hasAlpha |
Flag to indicate whether alpha is set for the colors. |
|
MemoryHeap* pheap = 0 |
Pointer to the memory heap for the color map. |
Newly created Palette class.