Share via


VertexElement.UsageIndex Property (Microsoft.DirectX.Direct3D)

Modifies the usage data to allow the user to specify multiple usage types.

Definition

Visual Basic Public Property UsageIndex As Byte
C# public byte UsageIndex { get; set; }
C++ public:
property unsigned char UsageIndex {
        unsigned char get();
        void set(unsigned char value);
}
JScript public function get UsageIndex() : byte
public function set UsageIndex(byte);

Property Value

System.Byte
Byte that represents the usage index.

This property is read/write. 

Remarks

The UsageIndex structure is used in conjunction with VertexElement.DeclarationUsage to specify the semantic of a vertex element.