Microsoft DirectX 8.0 (C++)

ID3DXTechnique::GetPassDesc

Retrieves information about a pass for an effect.

HRESULT GetPassDesc(
  UINT           Index,
  D3DXPASS_DESC* pDesc
)

Parameters

Index
Index of the pass to retrieve information about.
pDesc
[out, retval] Pointer to a D3DXPASS_DESC structure, containing the pass description.

Return Values

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

  Header: Declared in D3dx8effect.h.
  Import Library: Use D3dx8.lib.