ID3DXBaseEffect::GetFunctionDesc

Gets a function description.

HRESULT GetFunctionDesc(
  D3DXHANDLE hFunction,
  D3DXFUNCTION_DESC* pDesc
);

Parameters

hFunction
[in] Function handle. See Handles.
pDesc
[out] Returns a description of the function. See D3DXFUNCTION_DESC.

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 D3dx9effect.h.