NAME

cgGetLastListing - get the listing text from the last compile

SYNOPSIS

  #include <Cg/cg.h>

  const char * cgGetLastListing( CGcontext ctx );

PARAMETERS

ctx

Specifies the context handle.

DESCRIPTION

Returns the string containing the listing associated with the compile from the last call to cgCreateProgram(). The listing is the output to stdout and stderr you would typically get from the command-line version of the Cg compiler.

A NULL will be returned if cgCreateProgram() was not called with the given context.

ERRORS

SEE ALSO

the "cgCreateContext" document, the "cgCreateProgram" document