Rechercher une page de manuel
cgCreateContext
Langue: en
Version: 46734 (openSuse - 09/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
cgCreateContext - create a contextSYNOPSIS
#include <Cg/cg.h>
CGcontext cgCreateContext( void );
PARAMETERS
None.RETURN VALUES
Returns a valid CGcontext on success.Returns NULL if context creation fails.
DESCRIPTION
cgCreateContext creates a Cg context object and returns its handle. A Cg context is a container for Cg programs. All Cg programs must be added to a Cg context.EXAMPLES
to-be-writtenERRORS
CG_MEMORY_ALLOC_ERROR is generated if a context couldn't be created.HISTORY
cgCreateContext was introduced in Cg 1.1.SEE ALSO
the cgDestroyContext manpageContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre