RenderStateManager.BlendOperation Property

Language:

Note: This documentation is preliminary and is subject to change.

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 .NET Public Property BlendOperation As BlendOperation
C# public BlendOperation BlendOperation { get; set; }
Managed C++ public: __property BlendOperation get_BlendOperation();
public: __property void set_BlendOperation(BlendOperation);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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