glAttachObjectARB man page on SunOS

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

GLATTACHOBJECT(3gl)					   GLATTACHOBJECT(3gl)

NAME
       glAttachObjectARB - Attacheds a shader object to a program object

C SPECIFICATION
       void glAttachObjectARB( GLhandleARB program,
			       GLhandleARB *hader )

PARAMETERS
       program Specifies the handle of program object.

       shader Specifies the handle of the shader object.

DESCRIPTION
       glAttachObjectARB  attaches  a  shader  object specified by shader to a
       program object specified by  program.  All  shader  objects  which  are
       attached	 to  a	program object will be inclucded in the link operation
       for that program object. Shader objects	can  be	 attached  to  program
       objects	before	source code has been loaded into the shader object, or
       before the shader object has been compiled.  Multiple shader objects of
       the  same  type	can be attached to a single program object, and shader
       object can be attached to more than one program object.

ERRORS
       GL_INVALID_VALUE is generated if either shader  of  program  is	not  a
       valid object handle.
       GL_INVALID_OPERATION is generated if shader is not attached to program.
       GL_INVALID_OPERATION  is	 generated  if	program is not of type GL_PRO‐
       GRAM_OBJECT_ARB
       GL_INVALID_OPERATION is generated glAttachObjectARB is executed between
       glBegin and glEnd.

ASSOCIATED GETS
       glGetAttachedObjectsARB with the handle of a valid program object.

SEE ALSO
       glDetachObjectARB

				   11 Mar 04		   GLATTACHOBJECT(3gl)
[top]

List of man pages available for SunOS

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