?/TD>
Microsoft DirectX 9.0

ID3DXBaseEffect::GetParameterElement Method


Get the handle of an array element parameter.

Syntax

D3DXHANDLE GetParameterElement(      

    D3DXHANDLE hParent,     UINT ElementIndex );

Parameters

hParent
[in] Handle of the parent array parameter. See Handles.
ElementIndex
[in] Array element index.

Return Value

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

Remarks

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



© 2002 Microsoft Corporation. All rights reserved.