?/TD>
Microsoft DirectX 9.0

ID3DXConstantTable::GetConstant Method


Gets a constant by looking up its index.

Syntax

D3DXHANDLE GetConstant(      

    D3DXHANDLE hConstant,     UINT Index );

Parameters

hConstant
[in] Unique identifier to the parent data structure. If the constant is a top-level parameter (there is no parent data structure), use NULL.
Index
[in] Zero-based index of the constant.

Return Value

Returns a unique identifier to the constant.

Remarks

To get a constant from an array of constants, use ID3DXConstantTable::GetConstantElement.



© 2002 Microsoft Corporation. All rights reserved.