Table of Contents

Enum ColorWriteChannels

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Identifies which components of each pixel of a Render Target can be written to during blending.

[Flags]
[DataContract]
public enum ColorWriteChannels
Extension Methods

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 (A).

Blue = 4

Allow data to be stored in the blue component (B).

Green = 2

Allow data to be stored in the green component (G).

None = 0

None of the data is stored.

Red = 1

Allow data to be stored in the red component (R).

Remarks

These flags can be combined with a bitwise OR and set in BlendStateDescription and BlendStateRenderTargetDescription.