Share via


TextureStateManager.ConstantColor Property (Microsoft.DirectX.Direct3D)

Defines the per-stage constant color.

Definition

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

Property Value

System.Drawing.Color
A ColorLeave Site object that represents the drawing color.

This property is read/write. 

Remarks

To determine whether the current device supports a per-stage constant color, use the MiscCaps.SupportsPerStageConstant property. The ConstantColor property is used by TextureArgument.Constant.