NAME
    cgGetNamedTechniqueAnnotation - get a technique annotation by name

SYNOPSIS
      #include <Cg/cg.h>

      CGannotation cgGetNamedTechniqueAnnotation( CGtechnique tech, const char * name );

PARAMETERS
    tech    Specifies the technique to retrieve the annotation from.

    name    Specifies the name of the annotation to retrieve.

DESCRIPTION
    The annotations associated with a technique can be retrieved directly by
    name using the cgGetNamedTechniqueAnnotation function. The names of a
    technique's annotations can be discovered by iterating through the
    annotations (see the cgGetFirstTechniqueAnnotation manpage and the
    cgGetNextAnnotation manpage), calling cgGetAnnotationName for each one
    in turn.

RETURN VALUES
    Returns the named annotation. If the technique has no annotation
    corresponding to name, NULL is returned.

ERRORS
    CG_INVALID_TECHNIQUE_HANDLE_ERROR is generated if tech does not refer to
    a valid technique.

SEE ALSO
    the cgGetFirstTechniqueAnnotation manpage, the
    cgGetNextTechniqueAnnotation manpage, the cgGetAnnotationName manpage

