Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BlendStates Class

    Namespace: Stride.Graphics
    Assembly: Stride.Graphics.dll

    Known values for BlendStateDescription.

    System.Object → BlendStates
    Derived from BlendStates:

    public static class BlendStates
    Name Description
    Fields
    Additive

    A built-in state object with settings for additive blend, that is adding the destination data to the source data without using alpha.

    AlphaBlend

    A built-in state object with settings for alpha blend, that is blending the source and destination data using alpha.

    ColorDisabled

    A built-in state object with settings for no color rendering on target 0, that is only render to depth stencil buffer.

    Default

    A built-in state object with settings for default blend, that is no blend at all.

    NonPremultiplied

    A built-in state object with settings for blending with non-premultipled alpha, that is blending source and destination data using alpha while assuming the color data contains no alpha information.

    Opaque

    A built-in state object with settings for opaque blend, that is overwriting the source with the destination data.

    | Improve this Doc View Source

    Fields


    Additive

    A built-in state object with settings for additive blend, that is adding the destination data to the source data without using alpha.

    public static readonly BlendStateDescription Additive
    Field Value
    Type Description
    BlendStateDescription

    AlphaBlend

    A built-in state object with settings for alpha blend, that is blending the source and destination data using alpha.

    public static readonly BlendStateDescription AlphaBlend
    Field Value
    Type Description
    BlendStateDescription

    ColorDisabled

    A built-in state object with settings for no color rendering on target 0, that is only render to depth stencil buffer.

    public static readonly BlendStateDescription ColorDisabled
    Field Value
    Type Description
    BlendStateDescription

    Default

    A built-in state object with settings for default blend, that is no blend at all.

    public static readonly BlendStateDescription Default
    Field Value
    Type Description
    BlendStateDescription

    NonPremultiplied

    A built-in state object with settings for blending with non-premultipled alpha, that is blending source and destination data using alpha while assuming the color data contains no alpha information.

    public static readonly BlendStateDescription NonPremultiplied
    Field Value
    Type Description
    BlendStateDescription

    Opaque

    A built-in state object with settings for opaque blend, that is overwriting the source with the destination data.

    public static readonly BlendStateDescription Opaque
    Field Value
    Type Description
    BlendStateDescription

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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