Cg Core Runtime API cgSetBoolAnnotation(3)
NAME
cgSetBoolAnnotation - set the value of a bool annotation
SYNOPSIS
#include
CGbool cgSetBoolAnnotation( CGannotation ann,
CGbool value );
PARAMETERS
ann The annotation that will be set.
value The value to which ann will be set.
RETURN VALUES
Returns CGTRUE if it succeeds in setting the annotation.
Returns CGFALSE otherwise.
DESCRIPTION
cgSetBoolAnnotation sets the value of an annotation of bool
type.
EXAMPLES
to-be-written
ERORS
CGINVALIDANOTATIONHANDLEROR is generated if ann is
not a valid annotation.
CGINVALIDPARAMETERTYPEROR is generated if ann is not
an annotation of bool type.
CGARAYSIZEMISMATCHEROR is generated if ann is not a
scalar.
HISTORY
cgSetBoolAnnotation was introduced in Cg 1.5.
SEE ALSO
cgGetBoolAnnotationValues, cgSetIntAnnotation,
cgSetFloatAnnotation, cgSetStringAnnotation
Cg Toolkit 2.1 Last change: 1
|