Semantic Structure (Microsoft.DirectX.Direct3D)

Maps a parameter to vertex or pixel shader registers.

Definition

Visual Basic Public Structure Semantic
C# public struct Semantic 
C++ public value class Semantic sealed 
JScript In JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
Semantic Initializes a new instance of the Semantic class.
ToString Obtains a string representation of the current instance.

Properties

Property Description
Usage Retrieves or sets options that identify how resources are used.
UsageIndex Retrieves or sets options that modify how usage is interpreted.

Remarks

Semantics also can be used as optional descriptive strings attached to non-register parameters.

Structure Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492