![]() |
![]() |
![]() |
Gets the handle of a top-level parameter or a structure member parameter by looking up its semantic with a case-insensitive search.
Syntax
D3DXHANDLE GetParameterBySemantic(
D3DXHANDLE hParameter, LPCSTR pSemantic );
Parameters
- hParameter
- [in] Handle of the parameter, or NULL for top-level parameters. See Handles.
- pSemantic
- [in] String containing the semantic name.
Return Value
Returns the handle of the first parameter that matches the specified semantic, or NULL if the semantic was not found. See Handles.