Skip to content

Latest commit

 

History

History
83 lines (52 loc) · 1.49 KB

id3dxtextureshader--getconstantbyname.md

File metadata and controls

83 lines (52 loc) · 1.49 KB
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
APIRef
kbSyntax
ID3DXTextureShader.GetConstantByName
COM
d3dx9.lib
d3dx9.dll

ID3DXTextureShader::GetConstantByName method

Gets a constant by looking up its name.

Syntax

D3DXHANDLE GetConstantByName(
  [in] D3DXHANDLE hConstant,
  [in] LPCSTR     pName
);

Parameters

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.

Return value

Type: D3DXHANDLE

Returns a unique identifier to the constant.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXTextureShader