ID3DXConstantTable::GetConstantByName method
Gets a constant by looking up its name.
Syntax
D3DXHANDLE GetConstantByName(
[in] D3DXHANDLE hConstant,
[in] LPCSTR pName
);
Parameters
-
hConstant [in]
-
Type: D3DXHANDLE
Unique identifier to the parent data structure. If the constant is a top-level parameter (there is no parent data structure), use NULL.
-
pName [in]
-
Type: LPCSTR
Name of the constant.
Return value
Type: D3DXHANDLE
Returns a unique identifier to the constant.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also