- type
- TLookUpTableEntry = packed record
- RedPrec, RedShift, GreenPrec, GreenShift, BluePrec, BlueShift, AlphaPrec, AlphaPrec: Cardinal;
- Format, InternalFormat, DataFormat: GLenum;
- end;
- const
- FORMAT_LUT: array[0..0] of TLookUpTableEntry = (
- (
- RedPrec = 8,
- GreenPrec = 8,
- BluePrec = 8,
- AlphaPrec = 8,
- RedShift = 0,
- GreenShift = 8,
- BlueShift = 16,
- AlphaShift = 24,
- Format = GL_RGBA,
- InternalFormat = GL_RGBA8,
- DataFormat = GL_UNSIGNED_BYTE
- )
- );