Share via


BlendOperation Enumeration (Microsoft.DirectX.Direct3D)

Defines the supported blend operations.

Definition

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

Members

Member Value Description
Subtract 2 Result is the destination subtracted from the source.

Result = Source - Destination

Max 5 Result is the maximum of the source and destination.

Result = MAX(Source, Destination)

Min 4 Result is the minimum of the source and destination.

Result = MIN(Source, Destination)

RevSubtract 3 Result is the source subtracted from the destination.

Result = Destination - Source

Add 1 Result is the destination added to the source.

Result = Source + Destination

Remarks

This enumeration is used by the RenderStateManager.BlendOperation property.

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

See Also