Class BlendingMode
Render target blending mode descriptor.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BlendingMode : ValueType
Fields
AlphaToCoverageEnable
Render target blending mode descriptor.
Declaration
public bool AlphaToCoverageEnable
Field Value
System.
|
BlendEnable
Render target blending mode descriptor.
Declaration
public bool BlendEnable
Field Value
System.
|
BlendOp
Render target blending mode descriptor.
Declaration
public BlendingMode.Operation BlendOp
Field Value
BlendOpAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Operation BlendOpAlpha
Field Value
DestBlend
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend DestBlend
Field Value
DestBlendAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend DestBlendAlpha
Field Value
RenderTargetWriteMask
Render target blending mode descriptor.
Declaration
public BlendingMode.ColorWrite RenderTargetWriteMask
Field Value
SrcBlend
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend SrcBlend
Field Value
SrcBlendAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend SrcBlendAlpha
Field Value
Properties
Add
Gets the additive blending with pre-multiplied color.
Declaration
[Unmanaged]
public static BlendingMode Add { get; }
Property Value
Additive
Gets the additive rendering. Adds the color and the alpha channel. Source color is multiplied by the alpha.
Declaration
[Unmanaged]
public static BlendingMode Additive { get; }
Property Value
AlphaBlend
Gets the alpha blending. Source alpha controls the output color (0 - use destination color, 1 - use source color).
Declaration
[Unmanaged]
public static BlendingMode AlphaBlend { get; }
Property Value
Default
Multiply
Gets the multiply blending (multiply output color with texture color).
Declaration
[Unmanaged]
public static BlendingMode Multiply { get; }
Property Value
Opaque
Gets the opaque rendering (default). No blending is being performed.
Declaration
[Unmanaged]
public static BlendingMode Opaque { get; }