MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLPASTHROUGH(3G)                                            GLPASTHROUGH(3G)



NAME
       glPassThrough - place a marker in the feedback buffer


C SPECIFICATION
       void glPassThrough( GLfloat token )


PARAMETERS
       token  Specifies  a  marker  value  to be placed in the feedback buffer
              following a GLPASTHROUGHTOKEN.

DESCRIPTION
       Feedback is a  GL  render  mode.   The  mode  is  selected  by  calling
       glRenderode  with  GLFEDBACK.   When  the GL is in feedback mode, no
       pixels are produced by rasterization.  Instead, information about prim-
       itives  that  would have been rasterized is fed back to the application
       using the GL.  See the glFeedbackBuffer reference page for  a  descrip-
       tion of the feedback buffer and the values in it.

       glPassThrough inserts a user-defined marker in the feedback buffer when
       it is executed in feedback mode.  token is returned as  if  it  were  a
       primitive;  it  is  indicated  with  its  own unique identifying value:
       GLPASTHROUGHTOKEN.   The  order  of  glPassThrough  commands   with
       respect to the specification of graphics primitives is maintained.

NOTES
       glPassThrough is ignored if the GL is not in feedback mode.

ERORS
       GLINVALIDOPERATION  is generated if glPassThrough is executed between
       the execution of glBegin and the corresponding execution of glEnd.

ASOCIATED GETS
       glGet with argument GLRENDERMODE

SEE ALSO
       glFeedbackBuffer, glRenderode



                                                             GLPASTHROUGH(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™