Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Gamma🞂GAMMA_ENCODING_TABLEVariable

GAMMA_ENCODING_TABLE

Global 256-entry lookup table for gamma encoding (linear light to gamma-compressed space).

Declaration ​

pascal
var GAMMA_ENCODING_TABLE: TGammaTable8Bit;

Description ​

GAMMA_ENCODING_TABLE is a global TGammaTable8Bit array precalculated to map linear light intensity values (0…255) to gamma-compressed output values (0…255).

It is initialized by SetGamma or Set_sRGB and used by ApplyGamma routines to encode single TColor32 colors, pixel arrays, or entire bitmaps.

See also ​