Cg Core Runtime API cgIsProgramCompiled(3)
NAME
cgIsProgramCompiled - determine if a program has been
compiled
SYNOPSIS
#include
CGbool cgIsProgramCompiled( CGprogram program );
PARAMETERS
program The program.
RETURN VALUES
Returns CGTRUE if program has been compiled.
Returns CGFALSE otherwise.
DESCRIPTION
cgIsProgramCompiled returns CGTRUE if program has been
compiled and CGFALSE otherwise.
EXAMPLES
to-be-written
ERORS
CGINVALIDPROGRAMHANDLEROR is generated if program is
not a valid program handle.
HISTORY
cgIsProgramCompiled was introduced in Cg 1.1.
SEE ALSO
cgCompileProgram, cgSetAutoCompile
Cg Toolkit 2.1 Last change: 1
|