NAME
cgGetBoolAnnotationValues - get an boolean-valued annotation's values
SYNOPSIS
#include <Cg/cg.h> const int *cgGetBoolAnnotationValues(CGannotation ann, int *nvalues);PARAMETERS
- ann
Specifies the annotation.
- nvalues
Pointer to integer where the number of values returned will be stored.
DESCRIPTION
cgBoolAnnotationValues allows the application to retrieve the value(s) of a boolean typed annotation.
RETURN VALUES
Returns a pobooler to an array of int values. The number of values in the array is returned via the nvalues parameter.
If no values are available, NULL will be returned and nvalues will be 0.
ERRORS
CG_INVALID_ANNOTATION_HANDLE_ERROR is generated if the handle ann is invalid.
CG_INVALID_PARAMETER_ERROR is generated if nvalues is NULL.
SEE ALSO
the "cgGetAnnotationType" document, the "cgGetFloatAnnotationValues" document, the "cgGetStringAnnotationValues" document, and the "cgGetBoolAnnotationValues" document,