TextureStateManager.ConstantColorValue Property |
Language: |
Defines the per-stage constant color.
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);
System.Int32
This property is read/write.
An Int32that represents the drawing color.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.