ID3DXBaseEffect::GetAnnotation

Gets the handle of an annotation.

D3DXHANDLE GetAnnotation(
  D3DXHANDLE hObject,
  UINT Index
);

Parameters

hObject
[in] Handle of a technique, pass, or top-level parameter. See Handles.
Index
[in] Annotation index.

Return Values

Returns the handle of the specified annotation, or NULL if the index was invalid. See Handles.

Remarks

Annotations are user-specific data that can be attached to any technique, pass, or parameter. See Handles.

Requirements

Header: Declared in D3dx9effect.h.