Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BlendFunction Enum

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

    RGB or alpha blending operation.

    [DataContract]
    public enum BlendFunction
    Remarks

    The runtime implements RGB blending and alpha blending separately. Therefore, blend state requires separate blend operations for RGB data and alpha data. These blend operations are specified in a .

    Fields

    Name Description
    Add

    Add source 1 and source 2.

    Max

    Find the maximum of source 1 and source 2.

    Min

    Find the minimum of source 1 and source 2.

    ReverseSubtract

    Subtract source 2 from source 1.

    Subtract

    Subtract source 1 from source 2.

    Extension Methods

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

    Back to top

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