Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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(
[in] D3DXHANDLE hParameter,
[in] LPCSTR pSemantic
);
Parameters
-
hParameter [in]
-
Type: D3DXHANDLE
Handle of the parameter, or NULL for top-level parameters. See Handles (Direct3D 9).
-
pSemantic [in]
-
Type: LPCSTR
String containing the semantic name.
Return value
Type: D3DXHANDLE
Returns the handle of the first parameter that matches the specified semantic, or NULL if the semantic was not found. See Handles (Direct3D 9).
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also