ID3DXBaseEffect::GetTechniqueByName

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

D3DXHANDLE GetTechniqueByName(
  LPCSTR pName
);

Parameters

pName
[in] String containing the technique name.

Return Values

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

Requirements

Header: Declared in D3dx9shader.h.