gluseprogramobjectarb man page on Solaris

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
Solaris logo
[printable version]

GLUSEPROGRAMOBJECT(3gl)				       GLUSEPROGRAMOBJECT(3gl)

NAME
       glUseProgramObjectARB  - Make a program object part of the current ren‐
       dering state.

C SPECIFICATION
       void glUseProgramObjectARB( GLhandleARB program)

PARAMETERS
       program Specifies handle of program object which will be made																			       part
																											       the
																											       cur‐
																											       rent
																											       ren‐
																											       der‐
																											       ing
																											       state.

DESCRIPTION
       glUseProgramObjectARB install the executable code as  part  of  current
       rendering  state	 if  the  program object program has been successfully
       linked.	If glUseProgramObjectARB is called with the program set to  0,
       the fixed functionality paths will be used instead.

       While  a	 program  object  is  in  use,	shader	objects can  attached,
       detached, modified, and	compiled.  However,  these  changes  will  not
       affect  the  executable code until the program object has been success‐
       fully re-linked.

NOTES
       Any state changes to a program object in one context may not be updated
       in  a second context until glUseProgramObject is called on that program
       object in the second context.

ERRORS
       GL_INVALID_VALUE is generated if program is not a valid program handle.

       GL_INVALID_OPERATION is generated if program is	not  of	 type  GL_PRO‐
       GRAM_OBJECT_ARB

       GL_INVALID_OPERATION  is generated if program could not be made part of
       the current state.

       GL_INVALID_OPERATION is	generated  glUseProgramObjectARB  is  executed
       between	the  execution	of  glBegin and the corresponding execution of
       glEnd.

ASSOCIATED GETS
       glGetActiveAttrib with argument program

       glGetAttachedObjectsARB with argument program

       glGetHandleARB with argument program

SEE ALSO
       glAttachObjectARB,glCompileShaderARB, glDeleteObjectARB,	 glLinkProgra‐
       mARB, glValidateProgramARB

				   11 Mar 04	       GLUSEPROGRAMOBJECT(3gl)
[top]

List of man pages available for Solaris

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net