Rechercher une page de manuel
cgGLLoadProgram
Langue: en
Version: 46867 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGLLoadProgram - prepares a program for bindingSYNOPSIS
#include <Cg/cgGL.h>
void cgGLLoadProgram( CGprogram program );
PARAMETERS
- program
- The program which will be loaded.
RETURN VALUES
None.DESCRIPTION
cgGLLoadProgram prepares a program for binding. All programs must be loaded before they can be bound to the current state. See cgGLBindProgram for more information about binding programs.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PROFILE_ERROR is generated if program's profile is not a supported OpenGL profile.CG_INVALID_PROGRAM_HANDLE_ERROR is generated if program is not a valid program handle.
CG_PROGRAM_LOAD_ERROR is generated if the program fails to load for any reason.
HISTORY
cgGLLoadProgram was introduced in Cg 1.1.SEE ALSO
cgGLIsProgramLoaded, cgGLBindProgramContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre