ID3DXBaseEffect::GetPassDesc

Gets a pass description.

HRESULT GetPassDesc(
  D3DXHANDLE hPass,
  D3DXPASS_DESC* pDesc
);

Parameters

hPass
[in] Pass handle. See Handles.
pDesc
[out] Returns a description of the specified pass. See D3DXPASS_DESC.

Return Values

If the method succeeds, the return value is S_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Remarks

Note    If an effect is created with D3DXFX_NOT_CLONEABLE, this method will return NULL pointers (in D3DXPASS_DESC) to the shader functions.

Requirements

Header: Declared in D3dx9effect.h.