ID3DXBaseEffect::GetFunctionDesc method

Gets a function description.

Syntax

HRESULT GetFunctionDesc(
  [in]  D3DXHANDLE        hFunction,
  [out] D3DXFUNCTION_DESC *pDesc
);

Parameters

hFunction [in]

Type: D3DXHANDLE

Function handle. See Handles (Direct3D 9).

pDesc [out]

Type: D3DXFUNCTION_DESC*

Returns a description of the function. See D3DXFUNCTION_DESC.

Return value

Type: HRESULT

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

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXBaseEffect