Semantic Structure

Language:

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

Method Description
Semantic Initializes a new instance of the Semantic class.
ToString Obtains a string representation of the current instance.
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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center