Cg Core Runtime API cgGetFirstError(3)
NAME
cgGetFirstError - get the first error condition
SYNOPSIS
#include
CGerror cgGetFirstError( void );
PARAMETERS
None.
RETURN VALUES
Returns the first error condition that has occured since
cgGetFirstError was last called.
Returns CGNOEROR if no error has occurred.
DESCRIPTION
cgGetFirstError returns the first error condition that has
occured since cgGetFirstError was previously called.
EXAMPLES
CGerror firstError = cgGetFirstError();
ERORS
None.
HISTORY
cgGetFirstError was introduced in Cg 1.4.
SEE ALSO
cgSetErrorHandler, cgGetError
Cg Toolkit 2.1 Last change: 1
|