Microsoft DirectX 8.1 (C++)

ID3DXEffect::GetPassDesc

Retrieves information about a pass for an effect.

HRESULT GetPassDesc(
  LPCSTR         pTechnique,
  LPCSTR         pPass
  D3DXPASS_DESC* pDesc
)

Parameters

pTechnique
[in] Technique that you want to get pass information about.
pPass
[in] Pass that you want to get 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.