4.51.2.4.55. ogSetPixelRGBA() | Table of Contents | 4.51.2.4.57. ogSetRGBPalette() |
procedure ogSetRGBAPalette(colour, red, green, blue, alpha:uInt8); virtual;Remarks:
Colour defines the palette entry to be set, while red, green, blue, and alpha define the component colours of the palette entry.
The red, green, blue, and alpha values are with a range of 0..255, where 0 is minimum and 255 is maximum.
Restrictions:Palettes only apply to 8BPP surfaces.
The alpha level will be used when copying to a higher-bitdepth surface which has blending enabled.
See also:4.51.2.4.55. ogSetPixelRGBA() | Table of Contents | 4.51.2.4.57. ogSetRGBPalette() |