Microsoft DirectX 9.0 SDK Update (October 2004)

ColorWriteEnable Enumeration

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Enum ColorWriteEnable
C# public enum ColorWriteEnable
Managed C++ __value public enum ColorWriteEnable
JScript .NET 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 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