ID3D10EffectVariable::GetAnnotationByName method (d3d10effect.h)

Get an annotation by name.

Syntax

ID3D10EffectVariable * GetAnnotationByName(
  [in] LPCSTR Name
);

Parameters

[in] Name

Type: LPCSTR

The annotation name.

Return value

Type: ID3D10EffectVariable*

A pointer to an ID3D10EffectVariable Interface. Note that if the annotation is not found the ID3D10EffectVariable Interface returned will be empty. The ID3D10EffectVariable::IsValid method should be called to determine whether the annotation was found.

Remarks

Annotations can be attached to a technique, a pass or a global variable. For the syntax, see Annotation Syntax (Direct3D 10).

Requirements

Requirement Value
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectVariable Interface