Share via


ColorWriteEnable Enumeration (Microsoft.DirectX.Direct3D)

Defines values that are used to specify a channel in the RenderStateManager class type.

Definition

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

Members

Member Value Description
Alpha 8 Alpha channel of a buffer.
Blue 4 Blue channel of a buffer.
Green 2 Green channel of a buffer.
Red 1 Red channel of a buffer.
RedGreenBlueAlpha 15 All channels of a buffer.
RedGreenBlue 7 The red, green, and blue channels of a buffer.

Remarks

This enumeration is used by the ColorWriteEnable, ColorWriteEnable1, ColorWriteEnable2, and ColorWriteEnable3 properties.

Enumeration Information

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

See Also