Name
cgD3D10IsProgramLoaded - determine if a program has been loaded
Synopsis
#include <Cg/cgD3D10.h>
CGbool cgD3D10IsProgramLoaded( CGprogram program );
Parameters
- program
-
The program which will be checked.
Return Values
Returns CG_TRUE if program has been loaded using
cgD3D10LoadProgram.
Returns CG_FALSE otherwise.
Description
cgD3D10IsProgramLoaded determines if a program has been loaded
using cgD3D10LoadProgram.
Examples
// program is a CGprogram initialized elsewhere
...
CGbool isLoaded = cgD3D10IsProgramLoaded(program);
Errors
None.
History
cgD3D10IsProgramLoaded was introduced in Cg 2.1.
See Also
cgD3D10LoadProgram
|