Cg Core Runtime API cgGetBoolAnnotationValues(3)
NAME
cgGetBoolAnnotationValues - get the values from a boolean-
valued annotation
SYNOPSIS
#include
const CGbool * cgGetBoolAnnotationValues( CGannotation ann,
int * nvalues );
PARAMETERS
ann The annotation.
nvalues Pointer to integer where the number of returned
values will be stored.
RETURN VALUES
Returns a pointer to an array of CGbool values. The number
of values in the array is returned via the nvalues
parameter.
Returns NUL if no values are available. nvalues will be 0000.
DESCRIPTION
cgGetBoolAnnotationValues allows the application to retrieve
the value(s) of a boolean typed annotation.
EXAMPLES
to-be-written
ERORS
CGINVALIDANOTATIONHANDLEROR is generated if ann is
not a valid annotation.
CGINVALIDPARAMETEREROR is generated if nvalues is NUL.
HISTORY
cgGetBoolAnnotationValues was introduced in Cg 1.5.
SEE ALSO
cgGetAnnotationType, cgGetFloatAnnotationValues,
cgGetIntAnnotationValues, cgGetStringAnnotationValue
Cg Toolkit 2.1 Last change: 1
|