Rechercher une page de manuel
cgGetProgramContext
Langue: en
Version: 47043 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgGetProgramContext - get a programs parent contextSYNOPSIS
#include <Cg/cg.h>
CGcontext cgGetProgramContext( CGprogram program );
PARAMETERS
- program
- The program.
RETURN VALUES
Returns a CGcontext handle to the parent context.Returns NULL if an error occurs.
DESCRIPTION
cgGetProgramContext allows the application to retrieve a handle to the context to which a given program belongs.EXAMPLES
to-be-writtenERRORS
CG_INVALID_PROGRAM_HANDLE_ERROR is generated if program is not a valid program handle.HISTORY
cgGetProgramContext was introduced in Cg 1.1.SEE ALSO
the cgCreateProgram manpage, the cgCreateContext manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre