TDDPixelFormat
Unit

DDirectDraw

Declaration

TDDPixelFormat = record
    dwSize: Longint ;
    dwFlags: Longint ;
    dwFourCC: Longint ;
case Integer of
0: (
    dwRGBBitCount: Longint ;
    dwRBitMask: Longint ;
    dwGBitMask: Longint ;
    dwBBitMask: Longint ;
    dwRGBAlphaBitMask: Longint ;
) ;
1: (
    dwYUVBitCount: Longint ;
    dwYBitMask: Longint ;
    dwUBitMask: Longint ;
    dwVBitMask: Longint ;
    dwYUVAlphaBitMask: Longint ;
) ;
2: (
    dwZBufferBitDepth: Longint ;
) ;
3: (
    dwAlphaBitDepth: Longint ;
) ;
end ;
PDDPixelFormat = ^TDDPixelFormat;

Description

The TDDPixelFormat structure describes the pixel format of a DirectDrawSurface object for the IDirectDrawSurface3::GetPixelFormat method.

See DDPIXELFORMAT for more information.