MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                         cgSetIntAnnotation(3)



NAME
     cgSetIntAnnotation - set the value of an int annotation

SYNOPSIS
       #include 

       CGbool cgSetIntAnnotation( CGannotation ann,
                                  int 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
     cgSetIntAnnotation sets the value of an annotation of int
     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 int type.

     CGARAYSIZEMISMATCHEROR is generated if ann is not a
     scalar.

HISTORY
     cgSetIntAnnotation was introduced in Cg 1.5.

SEE ALSO
     cgGetIntAnnotationValues, cgSetBoolAnnotation,
     cgSetFloatAnnotation, cgSetStringAnnotation












Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™