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