ID3DXBaseEffect::GetAnnotationByName method

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

Syntax

D3DXHANDLE GetAnnotationByName(
  [in] D3DXHANDLE hObject,
  [in] LPCSTR     pName
);

Parameters

hObject [in]

Type: D3DXHANDLE

Handle of a technique, pass, or top-level parameter. See Handles (Direct3D 9).

pName [in]

Type: LPCSTR

String containing the annotation name.

Return value

Type: D3DXHANDLE

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

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXBaseEffect