NAME

cgIsProgramCompiled - determine if a program has been compiled

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsProgramCompiled(CGprogram prog);

PARAMETERS

prog

Specifies the program.

DESCRIPTION

cgIsProgramCompiled returns CG_TRUE if prog has been compiled and CG_FALSE otherwise.

ERRORS

CG_INVALID_PROGRAM_HANDLE_ERROR is generated if prog is invalid.

SEE ALSO

cgCompileProgram, and cgSetAutoCompile