ID3DXBaseEffect::GetFunctionByName

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

D3DXHANDLE GetFunctionByName(
  LPCSTR pName
);

Parameters

pName
[in] String containing the function name.

Return Values

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

Requirements

Header: Declared in D3dx9effect.h.