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.Boolean
|
BlendEnable
Render target blending mode descriptor.
Declaration
public bool BlendEnable
Field Value
System.Boolean
|
BlendOp
Render target blending mode descriptor.
Declaration
public BlendingMode.Operation BlendOp
Field Value
BlendingMode.Operation
|
BlendOpAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Operation BlendOpAlpha
Field Value
BlendingMode.Operation
|
DestBlend
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend DestBlend
Field Value
BlendingMode.Blend
|
DestBlendAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend DestBlendAlpha
Field Value
BlendingMode.Blend
|
RenderTargetWriteMask
Render target blending mode descriptor.
Declaration
public BlendingMode.ColorWrite RenderTargetWriteMask
Field Value
BlendingMode.ColorWrite
|
SrcBlend
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend SrcBlend
Field Value
BlendingMode.Blend
|
SrcBlendAlpha
Render target blending mode descriptor.
Declaration
public BlendingMode.Blend SrcBlendAlpha
Field Value
BlendingMode.Blend
|
Properties
Add
Gets the additive blending with pre-multiplied color.
Declaration
[Unmanaged]
public static BlendingMode Add { get; }
Property Value
BlendingMode
|
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
BlendingMode
|
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
BlendingMode
|
Default
The default BlendingMode.
Declaration
public static BlendingMode Default { get; }
Property Value
BlendingMode
|
Multiply
Gets the multiply blending (multiply output color with texture color).
Declaration
[Unmanaged]
public static BlendingMode Multiply { get; }
Property Value
BlendingMode
|
Opaque
Gets the opaque rendering (default). No blending is being performed.
Declaration
[Unmanaged]
public static BlendingMode Opaque { get; }
Property Value
BlendingMode
|