D3DX11_CHANNEL_FLAG enumeration
Note
The D3DX (D3DX 9, D3DX 10, and D3DX 11) utility library is deprecated for Windows 8 and is not supported for Windows Store apps.
These flags are used by functions which operate on one or more channels in a texture.
Syntax
typedef enum D3DX11_CHANNEL_FLAG {
D3DX11_CHANNEL_RED = (1 << 0),
D3DX11_CHANNEL_BLUE = (1 << 1),
D3DX11_CHANNEL_GREEN = (1 << 2),
D3DX11_CHANNEL_ALPHA = (1 << 3),
D3DX11_CHANNEL_LUMINANCE = (1 << 4)
} D3DX11_CHANNEL_FLAG, *LPD3DX11_CHANNEL_FLAG;
Constants
-
D3DX11_CHANNEL_RED
-
Indicates the red channel should be used.
-
D3DX11_CHANNEL_BLUE
-
Indicates the blue channel should be used.
-
D3DX11_CHANNEL_GREEN
-
Indicates the green channel should be used.
-
D3DX11_CHANNEL_ALPHA
-
Indicates the alpha channel should be used.
-
D3DX11_CHANNEL_LUMINANCE
-
Indicates the luminaces of the red, green, and blue channels should be used.
Requirements
Requirement | Value |
---|---|
Header |
|