ID3DXConstantTable::GetConstantElement method
Gets a constant from an array of constants. An array is made up of elements.
Syntax
D3DXHANDLE GetConstantElement(
[in] D3DXHANDLE hConstant,
[in] UINT Index
);
Parameters
-
hConstant [in]
-
Type: D3DXHANDLE
Unique identifier to the array of constants. This value may not be NULL.
-
Index [in]
-
Type: UINT
Zero-based index of the element in the array.
Return value
Type: D3DXHANDLE
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.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also