cgD3D10IsProgramLoaded

> # 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