Channel Enumeration

Language:

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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center