Table of Contents

Enum ColorWriteChannels

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Identify which components of each pixel of a render target are writable during blending.

[Flags]
[DataContract]
public enum ColorWriteChannels

Fields

All = Red | Green | Blue | Alpha

Allow data to be stored in all components.

Alpha = 8

Allow data to be stored in the alpha component.

Blue = 4

Allow data to be stored in the blue component.

Green = 2

Allow data to be stored in the green component.

None = 0

None of the data are stored.

Red = 1

Allow 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.