Microsoft DirectX 9.0 SDK Update (October 2004)

BaseEffect.GetAnnotation Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves an annotation.

Definition

Visual Basic .NET Public Function GetAnnotation( _
    ByVal technique As EffectHandle, _
    ByVal name As String _
) As EffectHandle
C# public EffectHandle GetAnnotation(
    EffectHandle technique,
    string name
);
Managed C++ public: EffectHandle* GetAnnotation(
    EffectHandle *technique,
    String *name
);
JScript .NET 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

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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