Palette::Create

Palette::Create
static Palette* SF_STDCALL Create(unsigned colorCount, bool hasAlpha, MemoryHeap* pheap = 0);
Description

Create creates a new color map of specified size.

Parameters
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. 
Return Value

Newly created Palette class.