Struct BlendingMode
Render target blending mode descriptor.
Inherited Members
Assembly: FlaxEngine.dll
File: Engine/Graphics/Enums.h
Syntax
public struct BlendingMode
Fields
Add
Gets the additive blending with pre-multiplied color.
Declaration
public static BlendingMode Add
Field Value
BlendingMode
|
Additive
Gets the additive rendering. Adds the color and the alpha channel. Source color is multiplied by the alpha.
Declaration
public static BlendingMode Additive
Field Value
BlendingMode
|
AlphaBlend
Gets the alpha blending. Source alpha controls the output color (0 - use destination color, 1 - use source color).
Declaration
public static BlendingMode AlphaBlend
Field Value
BlendingMode
|
AlphaToCoverageEnable
Render target blending mode descriptor.
Declaration
public bool AlphaToCoverageEnable
Field Value
bool
|
BlendEnable
Render target blending mode descriptor.
Declaration
public bool BlendEnable
Field Value
bool
|
BlendOp
Render target blending mode descriptor.
Declaration
public Operation BlendOp
Field Value
Operation
|
BlendOpAlpha
Render target blending mode descriptor.
Declaration
public Operation BlendOpAlpha
Field Value
Operation
|
DestBlend
Render target blending mode descriptor.
Declaration
public Blend DestBlend
Field Value
Blend
|
DestBlendAlpha
Render target blending mode descriptor.
Declaration
public Blend DestBlendAlpha
Field Value
Blend
|
Multiply
Gets the multiply blending (multiply output color with texture color).
Declaration
public static BlendingMode Multiply
Field Value
BlendingMode
|
Opaque
Gets the opaque rendering (default). No blending is being performed.
Declaration
public static BlendingMode Opaque
Field Value
BlendingMode
|
RenderTargetWriteMask
Render target blending mode descriptor.
Declaration
public ColorWrite RenderTargetWriteMask
Field Value
ColorWrite
|
SrcBlend
Render target blending mode descriptor.
Declaration
public Blend SrcBlend
Field Value
Blend
|
SrcBlendAlpha
Render target blending mode descriptor.
Declaration
public Blend SrcBlendAlpha
Field Value
Blend
|
Methods
operator==(const BlendingMode& other)
Declaration
public bool operator==(const BlendingMode& other) const
Parameters
BlendingMode
other
|
Returns
bool
|