ID3DXConstantTable::GetConstantByName
Gets a constant by looking up its name.
D3DXHANDLE GetConstantByName(
D3DXHANDLE hConstant,
LPCSTR pName
);
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.
- pName
- [in] Name of the constant.
Return Values
Returns a unique identifier to the constant.
Requirements
Header: Declared in D3dx9shader.h.