This documentation is archived and is not being maintained.
This documentation is archived and is not being maintained.
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.