ID3DXBaseEffect::GetParameterElement

Get the handle of an array element parameter.

D3DXHANDLE GetParameterElement(
  D3DXHANDLE hParameter,
  UINT ElementIndex
);

Parameters

hParameter
[in] Handle of the array. See Handles.
ElementIndex
[in] Array element index.

Return Values

Returns the handle of the specified parameter, or NULL if either hParameter or ElementIndex is invalid. See Handles.

Remarks

This method is used to get an element of a parameter that is an array.

Requirements

Header: Declared in D3dx9shader.h.