ID3DXBaseEffect::GetParameterElement method

Get the handle of an array element parameter.

Syntax

D3DXHANDLE GetParameterElement(
  [in] D3DXHANDLE hParameter,
  [in] UINT       ElementIndex
);

Parameters

hParameter [in]

Type: D3DXHANDLE

Handle of the array. See Handles (Direct3D 9).

ElementIndex [in]

Type: UINT

Array element index.

Return value

Type: D3DXHANDLE

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

Remarks

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

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXBaseEffect