ID3DXBaseEffect::GetParameter

Gets the handle of a top-level parameter or a structure member parameter.

D3DXHANDLE GetParameter(
  D3DXHANDLE hParameter,
  UINT Index
);

Parameters

hParameter
[in] Handle of the parameter, or NULL for top-level parameters. See Handles.
Index
[in] Parameter index.

Return Values

Returns the handle of the specified parameter, or NULL if the index was invalid. See Handles.

Requirements

Header: Declared in D3dx9shader.h.