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
|