Channel Enumeration
|
Language: |
Note: This documentation is preliminary and is subject to change.
Defines flags that specify which channels in a texture to operate on.
Definition
Visual Basic .NET |
Public Enum Channel |
C# |
public enum Channel |
Managed C++ |
__value public enum Channel |
JScript .NET |
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.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35 |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center