*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> OpenGL-GLC/glcgencontext (3)              
Title
Content
Arch
Section
 

Contents


glcGenContext(3G)	  OpenGL Character Renderer	     glcGenContext(3G)


NAME    [Toc]    [Back]

     glcGenContext, glcDeleteContext - generate	or delete a context

C SPECIFICATION    [Toc]    [Back]

     GLint glcGenContext( void )

C SPECIFICATION    [Toc]    [Back]

     void glcDeleteContext( GLint inContext )

PARAMETERS    [Toc]    [Back]

     inContext	Specifies the ID of the	context	to be deleted.

DESCRIPTION    [Toc]    [Back]

     glcGenContext generates a new context and returns its ID.

     glcDeleteContext marks the	context	specified by inContext for deletion.
     If	the marked context is not current to any client	thread,	the command
     deletes the marked	context	immediately. Otherwise,	the marked context is
     deleted when the context is no longer current to any client's thread.

     A GLC context is an instantiation of GLC. When a client thread issues a
     GLC command, the thread's current GLC context executes the	command.

     Each GLC context has a nonzero ID of type GLint. When the ID of a GLC
     context is	stored in the GLC context ID variable of a client thread, the
     context is	said to	be current to the thread. It is	not possible for a GLC
     context to	be current simultaneously to multiple threads.	With the
     exception of the per-thread GLC error code	and context ID variables, all
     of	the GLC	state variables	that are used during the execution of a	GLC
     command are stored	in the issuing thread's	current	GLC context. To	make a
     context current, call glcContext.

     Note that the results of issuing a	GL command when	there is no current GL
     context are undefined. Because GLC	issues GL commands, you	must create a
     GL	context	and make it current before calling GLC.

ERRORS    [Toc]    [Back]

     GLC_PARAMETER_ERROR is generated if inContext is not the ID of one	of the
     client's GLC contexts.

ASSOCIATED GETS    [Toc]    [Back]

     glcGetAllContexts,	glcIsContext

SEE ALSO    [Toc]    [Back]

      
      
     glcContext, glcGetCurrentContext


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
gss_delete_sec_context HP-UX delete a security context
glcdeleteglobjects IRIX delete all GL objects that a GLC context owns
gss_init_sec_context HP-UX establish a security context between the context initiator and a context acceptor
gss_accept_sec_context HP-UX establish a security context between the application and a context acceptor
glciscontext IRIX test whether a context ID is the current GLC context
acl_delete_file_np FreeBSD delete an ACL from a file
rmdir Linux delete a directory
groupdel Linux Delete a group
acl_delete_fd_np FreeBSD delete an ACL from a file
close NetBSD delete a descriptor
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service