ID3DXBaseEffect::GetAnnotationByName

Gets the handle of an annotation by looking up its name.

D3DXHANDLE GetAnnotationByName(
  D3DXHANDLE hObject,
  LPCSTR pName
);

Parameters

hObject
[in] Handle of a technique, pass, or top-level parameter. See Handles.
pName
[in] String containing the annotation name.

Return Values

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

Requirements

Header: Declared in D3dx9effect.h.