Blend Enumeration (Microsoft.DirectX.Direct3D)

Defines the supported . (The RGBA values of the source and destination are indicated by the subscripts s and d.)

Definition

Visual Basic Public Enum Blend
C# public enum Blend
C++ public enum class Blend
JScript public enum Blend

Members

Member Value Description
Zero 1 Blend factor is (0, 0, 0, 0).
InvBlendFactor 15 Inverted constant color blending factor used by the frame-buffer blender. This blend mode is supported only if the BlendCaps.SupportsBlendFactor property is set to true.
BlendFactor 14 Constant color blending factor used by the frame-buffer blender. This blend mode is supported only if the BlendCaps.SupportsBlendFactor property is set to true.
BothInvSourceAlpha 13 Source blend factor is (1 - As, 1 - As, 1 - As, 1 - As), and destination blend factor is (As, As, As, As); the destination blend selection is overridden. This blend mode is supported only if the RenderStateManager.SourceBlend property is set to true.
BothSourceAlpha 12 Obsolete. To achieve the same effect, set the source and destination blend factors to SourceAlpha and InvSourceAlpha in separate calls.
SourceAlphaSat 11 Blend factor is (f, f, f, 1); f = min(A, 1 - Ad).
InvDestinationColor 10 Blend factor is (1 - Rd, 1 - Gd, 1 - Bd, 1 - Ad).
DestinationColor 9 Blend factor is (Rd, Gd, Bd, Ad).
InvDestinationAlpha 8 Blend factor is (1 - Ad, 1 - Ad, 1 - Ad, 1 - Ad).
DestinationAlpha 7 Blend factor is (Ad, Ad, Ad, Ad).
InvSourceAlpha 6 Blend factor is ( 1 - As, 1 - As, 1 - As, 1 - As).
SourceAlpha 5 Blend factor is (As, As, As, As).
InvSourceColor 4 Blend factor is (1 - Rs, 1 - Gs, 1 - Bs, 1 - As).
SourceColor 3 Blend factor is (Rs, Gs, Bs, As).
One 2 Blend factor is (1, 1, 1, 1).

Enumeration Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492