D3DXPASS_DESC structure

Describes a pass for an effect object.

Syntax

typedef struct D3DXPASS_DESC {
  LPCSTR      Name;
  UINT        Annotations;
  const DWORD *pVertexShaderFunction;
  const DWORD *pPixelShaderFunction;
} D3DXPASS_DESC, *LPD3DXPASS_DESC;

Members

Name

Type: LPCSTR

String value used for the pass.

Annotations

Type: UINT

Annotations are user-specific data that can be attached to any technique, pass, or parameter. See Add Information to Effect Parameters with_Annotations.

pVertexShaderFunction

Type: const DWORD*

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 GetPassDesc.

pPixelShaderFunction

Type: const DWORD*

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 GetPassDesc.

Requirements

Requirement Value
Header
D3dx9effect.h

See also

Effect Structures

GetPassDesc