Class BlendingMode.Blend
Blending mode.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class Blend : Enum
Fields
BlendFactor
The blend factor is the blend factor set with GPUContext.SetBlendFactor. No pre-blend operation.
Declaration
public const BlendingMode.Blend BlendFactor
Field Value
BlendingMode.Blend
|
BlendInvFactor
The blend factor is the blend factor set with GPUContext.SetBlendFactor. The pre-blend operation inverts the blend factor, generating 1 - blend_factor.
Declaration
public const BlendingMode.Blend BlendInvFactor
Field Value
BlendingMode.Blend
|
DestAlpha
The blend factor is (Ad Ad Ad Ad), that is alpha data from a render target. No pre-blend operation.
Declaration
public const BlendingMode.Blend DestAlpha
Field Value
BlendingMode.Blend
|
DestColor
The blend factor is (Rd, Gd, Bd, Ad), that is color data from a render target. No pre-blend operation.
Declaration
public const BlendingMode.Blend DestColor
Field Value
BlendingMode.Blend
|
InvDestAlpha
The blend factor is (1 - Ad 1 - Ad 1 - Ad 1 - Ad), that is alpha data from a render target. The pre-blend operation inverts the data, generating 1 - A.
Declaration
public const BlendingMode.Blend InvDestAlpha
Field Value
BlendingMode.Blend
|
InvDestColor
The blend factor is (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad), that is color data from a render target. The pre-blend operation inverts the data, generating 1 - RGB.
Declaration
public const BlendingMode.Blend InvDestColor
Field Value
BlendingMode.Blend
|
InvSrc1Alpha
The blend factor is data sources as alpha data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - A. This blend factor supports dual-source color blending.
Declaration
public const BlendingMode.Blend InvSrc1Alpha
Field Value
BlendingMode.Blend
|
InvSrc1Color
The blend factor is data sources both as color data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. This blend factor supports dual-source color blending.
Declaration
public const BlendingMode.Blend InvSrc1Color
Field Value
BlendingMode.Blend
|
InvSrcAlpha
The blend factor is ( 1 - As, 1 - As, 1 - As, 1 - As), that is alpha data (A) from a pixel shader. The pre-blend operation inverts the data, generating 1 - A.
Declaration
public const BlendingMode.Blend InvSrcAlpha
Field Value
BlendingMode.Blend
|
InvSrcColor
The blend factor is (1 - Rs, 1 - Gs, 1 - Bs, 1 - As), that is color data (RGB) from a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB.
Declaration
public const BlendingMode.Blend InvSrcColor
Field Value
BlendingMode.Blend
|
One
The blend factor is (1, 1, 1, 1). No pre-blend operation.
Declaration
public const BlendingMode.Blend One
Field Value
BlendingMode.Blend
|
Src1Alpha
The blend factor is data sources as alpha data output by a pixel shader. There is no pre-blend operation. This blend factor supports dual-source color blending.
Declaration
public const BlendingMode.Blend Src1Alpha
Field Value
BlendingMode.Blend
|
Src1Color
The blend factor is data sources both as color data output by a pixel shader. There is no pre-blend operation. This blend factor supports dual-source color blending.
Declaration
public const BlendingMode.Blend Src1Color
Field Value
BlendingMode.Blend
|
SrcAlpha
The blend factor is (As, As, As, As), that is alpha data (A) from a pixel shader. No pre-blend operation.
Declaration
public const BlendingMode.Blend SrcAlpha
Field Value
BlendingMode.Blend
|
SrcAlphaSat
The blend factor is (f, f, f, 1); where f = min(As, 1 - Ad). The pre-blend operation clamps the data to 1 or less.
Declaration
public const BlendingMode.Blend SrcAlphaSat
Field Value
BlendingMode.Blend
|
SrcColor
The blend factor is (Rs, Gs, Bs, As), that is color data (RGB) from a pixel shader. No pre-blend operation.
Declaration
public const BlendingMode.Blend SrcColor
Field Value
BlendingMode.Blend
|
value__
Declaration
public int value__
Field Value
System.Int32
|
Zero
The blend factor is (0, 0, 0, 0). No pre-blend operation.
Declaration
public const BlendingMode.Blend Zero
Field Value
BlendingMode.Blend
|