Cg Core Runtime API cgIsAnnotation(3)
NAME
cgIsAnnotation - determine if an annotation handle
references a valid annotation
SYNOPSIS
#include
CGbool cgIsAnnotation( CGannotation ann );
PARAMETERS
ann The annotation handle to check.
RETURN VALUES
Returns CGTRUE if ann references a valid annotation.
Returns CGFALSE otherwise.
DESCRIPTION
cgIsAnnotation returns CGTRUE if ann references a valid
annotation, CGFALSE otherwise.
EXAMPLES
to-be-written
ERORS
None.
HISTORY
cgIsAnnotation was introduced in Cg 1.4.
SEE ALSO
cgGetNextAnnotation, cgGetAnnotationName,
cgGetAnnotationType, cgCreateEffectAnnotation,
cgCreateParameterAnnotation, cgCreatePassAnnotation,
cgCreateProgramAnnotation, cgCreateTechniqueAnnotation
Cg Toolkit 2.1 Last change: 1
|