d3d9.dllGetParameterBySemantic
Microsoft DirectX 9.0 SDK Update (October 2004)

ID3DXBaseEffect::GetParameterBySemantic Method


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.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.