Share via


RenderStateManager.BlendFactor Property (Microsoft.DirectX.Direct3D)

Retrieves or sets a ColorLeave Site object to use for a constant blend factor during alpha blending.

Definition

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

Property Value

System.Drawing.Color
A ColorLeave Site object that specifies the constant blend factor to set or retrieve.

This property is read/write. 

Remarks

The BlendFactor property is available if BlendCaps.SupportsBlendFactor is set in Caps.SourceBlendCaps or Caps.DestinationBlendCaps for the device.

See Also