Share via


TextureStateManager.ConstantColorValue Property (Microsoft.DirectX.Direct3D)

Defines the per-stage constant color.

Definition

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

Property Value

System.Int32
An Int32Leave Site 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 ConstantColorValue property is used by TextureArgument.Constant.