- 4.51.1.27. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.1. ObjGfx40 Unit Constants, Variables, and Data Types
4.51.1.27. ogPixelFmt type
4.51.1.27. ogPixelFmt type
Targets: MS-DOS, Win32 console
ObjGfx40 Unit
Defines the pixel format of an ogSurface.
Declaration:
type
ogPixelFmt = object
BPP, { BitsPerPixel }
redFieldPosition, { RedFieldPosition }
greenFieldPosition, { GreenFieldPosition }
blueFieldPosition, { BlueFieldPosition }
alphaFieldPosition : uInt8; { AlphaFieldPosition }
redMaskSize,
greenMaskSize,
blueMaskSize,
alphaMaskSize : uInt8;
reserved : array [ 0..6 ] of uInt8;
end;
See also:
- 4.51.1.27. -