BaseEffect.GetAnnotation Method

Language:

Retrieves an annotation.

Definition

Visual Basic Public Function GetAnnotation( _
    ByVal technique As EffectHandle, _
    ByVal name As String _
) As EffectHandle
C# public EffectHandle GetAnnotation(
    EffectHandle technique,
    string name
);
C++ public:
EffectHandleGetAnnotation(
    EffectHandletechnique,
    Stringname
);
JScript public function GetAnnotation(
    technique : EffectHandle,
    name : String
) : EffectHandle;

Parameters

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

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