TextureStateManager.ConstantColor Property

Language:

Defines the per-stage constant color.

Definition

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

Property Value

System.Drawing.Color
A Color Leave 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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