RenderStateManager.AlphaBlendOperation Property

Language:

Retrieves or sets a value to select the arithmetic operation applied to the separate for the alpha channel (also known as separate alpha blending) when the render state, RenderStateManager.SeparateAlphaBlendEnabled, is set to true.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.BlendOperation
A 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.