D3DXPASS_DESC

Describes a pass for an effect object.

typedef struct D3DXPASS_DESC {
    LPCSTR Name;
    UINT Annotations;
    CONST DWORD * pVertexShaderFunction;
    CONST DWORD * pPixelShaderFunction;
} D3DXPASS_DESC, *LPD3DXPASS_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 Add Information to Effect Parameters with_Annotations.
pVertexShaderFunction
Pointer to the vertex shader function. If an effect is created with D3DXFX_NOT_CLONEABLE, this structure will return a NULL pointer when called by ID3DXBaseEffect::GetPassDesc.
pPixelShaderFunction
Pointer to the pixel shader function. If an effect is created with D3DXFX_NOT_CLONEABLE, this structure will return a NULL pointer when called by ID3DXBaseEffect::GetPassDesc.

See Also

ID3DXBaseEffect::GetPassDesc