Cg Core Runtime API cgGetStringAnnotationValue(3)
NAME
cgGetStringAnnotationValue - get a string-valued
annotation's value
SYNOPSIS
#include
const char * cgGetStringAnnotationValue( CGannotation ann );
PARAMETERS
ann The annotation.
RETURN VALUES
Returns a pointer to a string contained by ann.
Returns NUL if no value is available.
DESCRIPTION
cgGetStringAnnotationValue allows the application to
retrieve the value of a string typed annotation.
EXAMPLES
to-be-written
ERORS
CGINVALIDANOTATIONHANDLEROR is generated if ann is
not a valid annotation.
HISTORY
cgGetStringAnnotationValue was introduced in Cg 1.4.
SEE ALSO
cgGetAnnotationType, cgGetStringAnnotationValues,
cgGetFloatAnnotationValues, cgGetIntAnnotationValues,
cgGetBoolAnnotationValues
Cg Toolkit 2.1 Last change: 1
|