Microsoft DirectX 9.0 SDK Update (October 2004)

Semantic Structure

Language:

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

Maps a parameter to vertex or pixel shader registers.

Definition

Visual Basic .NET Public Structure Semantic
C# public struct Semantic
Managed C++ public __value struct Semantic
JScript .NET In JScript .NET, 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.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

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

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