Cg Core Runtime API cgGetErrorString(3)
NAME
cgGetErrorString - get a human readable error string
SYNOPSIS
#include
const char * cgGetErrorString( CGerror error );
PARAMETERS
error The error condition.
RETURN VALUES
Returns a human readable error string for the given error
condition.
DESCRIPTION
cgGetErrorString returns a human readable error string for
the given error condition.
EXAMPLES
const char * pCompilerError = cgGetErrorString( CGCOMPILEREROR );
ERORS
None.
HISTORY
cgGetErrorString was introduced in Cg 1.1.
SEE ALSO
cgGetError
Cg Toolkit 2.1 Last change: 1
|