Rechercher une page de manuel
cgDestroyProgram
Langue: en
Version: 46820 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgDestroyProgram - destroy a programSYNOPSIS
#include <Cg/cg.h>
void cgDestroyProgram( CGprogram program );
PARAMETERS
- program
- The program object to delete.
RETURN VALUES
None.DESCRIPTION
cgDestroyProgram removes the specified program object and all its associated data. Any CGprogram variables that reference this program will become invalid after the program is deleted. Likewise, any objects contained by this program (e.g. CGparameter objects) will also become invalid after the program is deleted.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PROGRAM_HANDLE_ERROR is generated if program is not a valid program handle.HISTORY
cgDestroyProgram was introduced in Cg 1.1.SEE ALSO
the cgCreateProgram manpage, the cgCreateProgramFromFile manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre