Enum ColorWriteChannels
Identify which components of each pixel of a render target are writable during blending.
[Flags]
[DataContract]
public enum ColorWriteChannels
Fields
All = Red | Green | Blue | AlphaAllow data to be stored in all components.
Alpha = 8Allow data to be stored in the alpha component.
Blue = 4Allow data to be stored in the blue component.
Green = 2Allow data to be stored in the green component.
None = 0None of the data are stored.
Red = 1Allow data to be stored in the red component.
Remarks
These flags can be combined with a bitwise OR and is used in BlendStateDescription and BlendStateRenderTargetDescription.