ID3DXBaseEffect::GetTechniqueByName method

Gets the handle of a technique by looking up its name.

Syntax

D3DXHANDLE GetTechniqueByName(
  [in] LPCSTR pName
);

Parameters

pName [in]

Type: LPCSTR

String containing the technique name.

Return value

Type: D3DXHANDLE

Returns the handle of the first technique that has the specified name, or NULL if the name was not found. See Handles (Direct3D 9).

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXBaseEffect