D3DX10_CHANNEL_FLAG enumeration

These flags are used by functions which operate on one or more channels in a texture.

Syntax

typedef enum D3DX10_CHANNEL_FLAG { 
  D3DX10_CHANNEL_RED        = (1 << 0),
  D3DX10_CHANNEL_BLUE       = (1 << 1),
  D3DX10_CHANNEL_GREEN      = (1 << 2),
  D3DX10_CHANNEL_ALPHA      = (1 << 3),
  D3DX10_CHANNEL_LUMINANCE  = (1 << 4)
} D3DX10_CHANNEL_FLAG, *LPD3DX10_CHANNEL_FLAG;

Constants

D3DX10_CHANNEL_RED

Indicates the red channel should be used.

D3DX10_CHANNEL_BLUE

Indicates the blue channel should be used.

D3DX10_CHANNEL_GREEN

Indicates the green channel should be used.

D3DX10_CHANNEL_ALPHA

Indicates the alpha channel should be used.

D3DX10_CHANNEL_LUMINANCE

Indicates the luminaces of the red, green, and blue channels should be used.

Requirements

Requirement Value
Header
D3DX10Tex.h

See also

D3DX Enumerations