?/TD>
Microsoft DirectX 9.0

D3DXSEMANTIC Structure


Semantics map a parameter to vertex or pixel shader registers. They can also be optional descriptive strings attached to non-register parameters.

Syntax

typedef struct _D3DXSEMANTIC {
    UINT Usage;
    UINT UsageIndex;
} D3DXSEMANTIC;

Members

Usage
Options that identify how resources are used. See D3DUSAGE.
UsageIndex
Options that modify how the usage is interpreted. See Decoupling Vertex Shaders and Vertex Declarations.

Remarks

Semantics are required for vertex and pixel shader, input and output registers.

Structure Information

Headerd3dx9shader.h
Minimum operating systems Windows 98

See Also

IDs and Semantics


© 2002 Microsoft Corporation. All rights reserved.