?/TD>
Microsoft DirectX 9.0

D3DXPASS_DESC Structure


Describes a pass for an effect object.

Syntax

typedef struct _D3DXPASS_DESC {
    LPCSTR Name;
    UINT Annotations;
    DWORD VSVersion;
    DWORD PSVersion;
    UINT VSSemanticUsed;
    D3DXSEMANTIC VSSemantics[MAXD3DDECLLENGTH];
    UINT PSSemanticUsed;
    D3DXSEMANTIC PSSemantics[MAXD3DDECLLENGTH];
    UINT PSSamplersUsed;
    LPCSTR PSSampers[16];
} D3DXPASS_DESC;

Members

Name
String value used for the pass.
Annotations
Annotations are user-specific data that can be attached to any technique, pass, or parameter. See Annotations.
VSVersion
Vertex shader version number. This can be NULL if there is no vertex shader.
PSVersion
Pixel shader version number. This can be NULL if there is no pixel shader.
VSSemanticUsed
The number of vertex shader semantics used.
VSSemantics
An array of the vertex shader semantics. See IDs and Semantics.
PSSemanticUsed
The number of pixel shader semantics used.
PSSemantics
An array of the pixel shader semantics. See IDs and Semantics.
PSSamplersUsed
The number of sampler registers used by pixel shaders.
PSSampers
An array of pixel shader samplers.

Structure Information

Headerd3dx9effect.h
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.