TextureStateManager.ConstantColorValue Property

Language:

Note: This documentation is preliminary and is subject to change.

Defines the per-stage constant color.

Definition

Visual Basic .NET Public Property ConstantColorValue As Integer
C# public int ConstantColorValue { get; set; }
Managed C++ public: __property int get_ConstantColorValue();
public: __property void set_ConstantColorValue(int);
JScript .NET public function get ConstantColorValue() : int
public function set ConstantColorValue(int);

Property Value

System.Int32 . An Int32 Leave 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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