ID3DXBaseEffect::GetAnnotation method

Gets the handle of an annotation.

Syntax


D3DXHANDLE GetAnnotation(
  [in]  D3DXHANDLE hObject,
  [in]  UINT Index
);

Parameters

hObject [in]

Type: D3DXHANDLE

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

Index [in]

Type: UINT

Annotation index.

Return value

Type: D3DXHANDLE

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

Remarks

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

Requirements

Header

D3DX9Effect.h

Library

D3dx9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft