NAME
cgGetString - gets a special string
SYNOPSIS
#include <Cg/cg.h> const char *cgGetString(CGenum sname);PARAMETERS
- sname
An enumerant describing the string to be returned.
DESCRIPTION
cgGetString returns an informative string depending on the sname. Currently there is only one valid enumerant that may be passed in.
- CG_VERSION
Returns the version string of the Cg runtime and compiler.
RETURN VALUES
Returns the string depending on name. Returns NULL in the event of an error.
ERRORS
CG_INVALID_ENUMERANT_ERROR if sname is an invalid enumerant.
SEE ALSO