RenderStateManager.BlendOperation Property

Language:

Retrieves or sets a value used to select the arithmetic operation to apply when the alpha blend render state, RenderStateManager.AlphaBlendEnable, is set to true.

Definition

Visual Basic Public Property BlendOperation As BlendOperation
C# public BlendOperation BlendOperation { get; set; }
C++ public:
property BlendOperation BlendOperation {
        BlendOperation get();
        void set(BlendOperation value);
}
JScript public function get BlendOperation() : BlendOperation
public function set BlendOperation(BlendOperation);

Property Value

Microsoft.DirectX.Direct3D.BlendOperation
Value of the BlendOperation enumeration that represents the blend operation to set or retrieve.

This property is read/write. 

Remarks

Valid values are defined by the BlendOperation enumeration. The default value is BlendOperation.Add.

If the MiscCaps.SupportsBlendOperation device capability is not supported, BlendOperation.Add is performed.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.