D3DX_CHANNEL

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

#define Description
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.

 

Constant Information

Requirement Value
Header d3dx9tex.h
Minimum operating system Windows 98

 

D3DX Constants