Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BlendStateRenderTargetDescription Struct

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

    Describes the blend state for a render target.

    [DataContract]
    public struct BlendStateRenderTargetDescription : IEquatable<BlendStateRenderTargetDescription>
    Name Description
    Fields
    AlphaBlendFunction

    This BlendFunction defines how to combine the alpha data sources.

    AlphaDestinationBlend

    This Blend specifies the second alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.

    AlphaSourceBlend

    This Blend specifies the first alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.

    BlendEnable

    Enable (or disable) blending.

    ColorBlendFunction

    This BlendFunction defines how to combine the RGB data sources.

    ColorDestinationBlend

    This Blend specifies the second RGB data source and includes an optional pre-blend operation.

    ColorSourceBlend

    This Blend specifies the first RGB data source and includes an optional pre-blend operation.

    ColorWriteChannels

    A write mask.

    Methods
    Equals(BlendStateRenderTargetDescription)
    Equals(Object)
    GetHashCode()
    Operators
    Equality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
    Inequality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)
    | Improve this Doc View Source

    Fields


    AlphaBlendFunction

    This BlendFunction defines how to combine the alpha data sources.

    public BlendFunction AlphaBlendFunction
    Field Value
    Type Description
    BlendFunction

    AlphaDestinationBlend

    This Blend specifies the second alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.

    public Blend AlphaDestinationBlend
    Field Value
    Type Description
    Blend

    AlphaSourceBlend

    This Blend specifies the first alpha data source and includes an optional pre-blend operation. Blend options that end in _COLOR are not allowed.

    public Blend AlphaSourceBlend
    Field Value
    Type Description
    Blend

    BlendEnable

    Enable (or disable) blending.

    public bool BlendEnable
    Field Value
    Type Description
    System.Boolean

    ColorBlendFunction

    This BlendFunction defines how to combine the RGB data sources.

    public BlendFunction ColorBlendFunction
    Field Value
    Type Description
    BlendFunction

    ColorDestinationBlend

    This Blend specifies the second RGB data source and includes an optional pre-blend operation.

    public Blend ColorDestinationBlend
    Field Value
    Type Description
    Blend

    ColorSourceBlend

    This Blend specifies the first RGB data source and includes an optional pre-blend operation.

    public Blend ColorSourceBlend
    Field Value
    Type Description
    Blend

    ColorWriteChannels

    A write mask.

    public ColorWriteChannels ColorWriteChannels
    Field Value
    Type Description
    ColorWriteChannels
    | Improve this Doc View Source

    Methods


    Equals(BlendStateRenderTargetDescription)

    public bool Equals(BlendStateRenderTargetDescription other)
    Parameters
    Type Name Description
    BlendStateRenderTargetDescription other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    Operators


    Equality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)

    public static bool operator ==(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)
    Parameters
    Type Name Description
    BlendStateRenderTargetDescription left
    BlendStateRenderTargetDescription right
    Returns
    Type Description
    System.Boolean

    Inequality(BlendStateRenderTargetDescription, BlendStateRenderTargetDescription)

    public static bool operator !=(BlendStateRenderTargetDescription left, BlendStateRenderTargetDescription right)
    Parameters
    Type Name Description
    BlendStateRenderTargetDescription left
    BlendStateRenderTargetDescription right
    Returns
    Type Description
    System.Boolean

    Inherited Members

    System.ValueType.ToString()

    Extension Methods

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

    Back to top

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