?/TD>
Microsoft DirectX 9.0

ID3DXConstantTable::GetConstantElement Method


Gets a constant from an array of constants. An array is made up of elements.

Syntax

D3DXHANDLE GetConstantElement(      

    D3DXHANDLE hConstant,     UINT Index );

Parameters

hConstant
[in] Unique identifier to the array of constants. This value may not be NULL.
Index
[in] Zero-based index of the element in the array.

Return Value

Returns a unique identifier to the element constant.

Remarks

To get a constant that is not part of an array, use ID3DXConstantTable::GetConstant or ID3DXConstantTable::GetConstantByName.



© 2002 Microsoft Corporation. All rights reserved.