MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Core Runtime API                                 cgGetError(3)



NAME
     cgGetError - get error condition

SYNOPSIS
       #include 

       CGerror cgGetError( void );


PARAMETERS
     None.

RETURN VALUES
     Returns the last error condition that has occured.

     Returns CGNOEROR if no error has occurred.

DESCRIPTION
     cgGetError returns the last error condition that has
     occured.  The error condition is reset after cgGetError is
     called.

EXAMPLES
       CGerror err = cgGetError();


ERORS
     None.

HISTORY
     cgGetError was introduced in Cg 1.1.

SEE ALSO
     cgSetErrorCallback, cgSetErrorHandler





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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