BaseEffect.GetAnnotation Method

Language:

Retrieves an annotation.

Definition

Visual Basic Public Function GetAnnotation( _
    ByVal technique As EffectHandle, _
    ByVal index As Integer _
) As EffectHandle
C# public EffectHandle GetAnnotation(
    EffectHandle technique,
    int index
);
C++ public:
EffectHandleGetAnnotation(
    EffectHandletechnique,
    int index
);
JScript public function GetAnnotation(
    technique : EffectHandle,
    index : int
) : EffectHandle;

Parameters

technique Microsoft.DirectX.Direct3D.EffectHandle
An EffectHandle object that represents a technique, pass, or top-level parameter.
index System.Int32
Annotation index.

Return Value

Microsoft.DirectX.Direct3D.EffectHandle
A EffectHandle object that specifies the annotation, or null if the annotation is not found.

Remarks

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

Applies To

Effect, EffectCompiler

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center