description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID3DXTextureShader::GetConstantByName method - Gets a constant by looking up its name. |
0c57f6ce-ea81-4b34-9251-c385bfe6ebe7 |
ID3DXTextureShader::GetConstantByName method (D3DX9Shader.h) |
reference |
05/31/2018 |
|
|
|
|
Gets a constant by looking up its name.
D3DXHANDLE GetConstantByName(
[in] D3DXHANDLE hConstant,
[in] LPCSTR pName
);
-
hConstant [in]
-
Type: D3DXHANDLE
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]
-
Type: LPCSTR
A string containing the name of the constant.
Type: D3DXHANDLE
Returns a unique identifier to the constant.
Requirement | Value |
---|---|
Header |
|
Library |
|