D3DX_CHANNEL Flags

DirectX8

 
Microsoft DirectX 8.1 (C++)

D3DX_CHANNEL Flags

The following flags are used to specify which channels in a texture to operate on.

#define D3DX_CHANNEL_RED            1
#define D3DX_CHANNEL_BLUE           2
#define D3DX_CHANNEL_GREEN          4
#define D3DX_CHANNEL_ALPHA          8
#define D3DX_CHANNEL_LUMINANCE     16

Constants

D3DX_CHANNEL_RED
Indicates the red channel should be used.
D3DX_CHANNEL_BLUE
Indicates the blue channel should be used.
D3DX_CHANNEL_GREEN
Indicates the green channel should be used.
D3DX_CHANNEL_ALPHA
Indicates the alpha channel should be used.
D3DX_CHANNEL_LUMINANCE
Indicates the luminances of the red, green, and blue channels should be used.

Requirements

  Header: Declared in D3d8tex.h.