Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ColorWriteChannels Enum

    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
    Remarks

    These flags can be combined with a bitwise OR and is used in .

    Fields

    Name Description
    All

    Allow data to be stored in all components.

    Alpha

    Allow data to be stored in the alpha component.

    Blue

    Allow data to be stored in the blue component.

    Green

    Allow data to be stored in the green component.

    None

    None of the data are stored.

    Red

    Allow data to be stored in the red component.

    Extension Methods

    ComponentBaseExtensions.DisposeBy<ColorWriteChannels>(ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<ColorWriteChannels>(ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation