Microsoft DirectX 8.1 (C++)

ID3DXEffect::GetParameterDesc

Retrieves information about an particular effect parameter.

HRESULT GetParameterDesc(
  LPCSTR              pParameter,
  D3DXPARAMETER_DESC* pDesc
)

Parameters

pParameter
[in] Index of the parameter to retrieve information about.
pDesc
[out, retval] Pointer to a D3DXPARAMETER_DESC structure, specifying information about the parameter.

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.