Dela via


ShaderSemantic.UsageIndex Property

Note

This property is available only when developing for Windows.

Gets or sets options that modify how the usage is interpreted. The usage and usage index make up a vertex declaration.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public int UsageIndex { get; set; }

Property Value

Options that modify how the usage is interpreted. The usage and usage index make up a vertex declaration.

See Also

Reference

ShaderSemantic Structure
ShaderSemantic Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista