Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Draw_Library v2.00 Component Reference
|
|
[ TDDPixelFormat::Flags ]
[ next: FourCC ]
[ prev: ErrorValue ]
public:
__property dword Flags[dword pArrayIndex] = { read=FGetFlags, write=FSetFlags };
TDDPIXELFORMAT::FLAGS
[ component property ]
- Description
The Flags property defines flags indicating various control options and which properties of this component contain valid data.
The described effect applies when the flag is set.
- Flags
DDPF_ALPHA
This component is describing the pixel format of an alpha only surface.
DDPF_ALPHAPIXELS
This component is describing the pixel format of a surface with interleaved alpha channel information.
DDPF_ALPHAPREMULT
This component is describing the pixel format of a surface using a premultiplied alpha format.
The alpha component is premultiplied with the color components for each pixel.
DDPF_BUMPDUDV
The bump map related properties of this component contain valid data.
DDPF_BUMPLUMINANCE
The luminance related properties of this component contain valid data.
DDPF_COMPRESSED
The surface this component describes will accept pixel data in a specified format and compress it during write operations.
DDPF_FOURCC
The FourCC property of this component contains valid data.
DDPF_LUMINANCE
This component is describing the pixel format of a luminance or luminance alpha surface.
DDPF_PALETTEINDEXED1
This component is describing the pixel format of a 1 bit color palette indexed surface.
DDPF_PALETTEINDEXED2
This component is describing the pixel format of a 2 bit color palette indexed surface.
DDPF_PALETTEINDEXED4
This component is describing the pixel format of a 4 bit color palette indexed surface.
DDPF_PALETTEINDEXED8
This component is describing the pixel format of a 8 bit color palette indexed surface.
DDPF_PALETTEINDEXEDTO8
This component is describing the pixel format of a surface that uses a 1, 2 or 4 bit index to an 8 bit color palette.
DDPF_RGB
The RGB properties of this component contain valid data.
DDPF_RGBTOYUV
The surface this component is describing will accept RGB data and translate it to YUV data during the write operation.
The format of the data being written is contained in the pixel format.
DDPF_RGB will also be set.
DDPF_STENCILBUFFER
This component is describing the pixel format of a z-buffer surface which also encodes stencil information.
This flag may only be utilized when DDPF_ZBUFFER is also set.
DDPF_YUV
The YUV properties in this component contain valid data..
DDPF_ZBUFFER
This component is describing the pixel format of a z-buffer only surface.
DDPF_ZPIXELS
This component is describing the pixel format of a surface with interleaved z-buffer information.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|