![]() |
![]() |
![]() |
Gets a constant by looking up its name.
Syntax
D3DXHANDLE GetConstantByName(
D3DXHANDLE hConstant, LPCSTR pName );
Parameters
- hConstant
- [in] A handle to the parent data structure. If the constant is a top-level parameter (there is no parent data structure), use NULL.
- pName
- [in] A string containing the name of the constant.
Return Value
Returns a unique identifier to the constant.