ID3DXBaseEffect::GetFunctionByName method

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

Syntax

D3DXHANDLE GetFunctionByName(
  [in] LPCSTR pName
);

Parameters

pName [in]

Type: LPCSTR

String containing the function name.

Return value

Type: D3DXHANDLE

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

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXBaseEffect