ID3DXTextureShader::GetConstantByName
Gets a constant by looking up its name.
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 Values
Returns a unique identifier to the constant.
Requirements
Header: Declared in D3dx9shader.h.