Share via


Channel Enumeration (Microsoft.DirectX.Direct3D)

Defines flags that specify which channels in a texture to operate on.

Definition

Visual Basic Public Enum Channel
C# public enum Channel
C++ public enum class Channel
JScript public enum Channel

Members

Member Value Description
Alpha 8 Operation is performed on the alpha channel.
Green 4 Operation is performed on the green channel.
Blue 2 Operation is performed on the blue channel.
Red 1 Operation is performed on the red channel.
Luminance 16 Operation is performed on the luminance channel.

Remarks

This enumeration is used by the TextureLoader.ComputeNormalMap method.

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492