Places a marker in the feedback buffer.
OpenGL C bindings library: libGL.a
void glPassThrough(GLfloat Token)
|Token||Specifies a marker value to be placed in the feedback buffer following a GL_PASS_THROUGH_TOKEN value.|
Feedback is a GL render mode. The mode is selected by calling the glRenderMode subroutine with GL_FEEDBACK. When the GL is in feedback mode, no pixels are produced by rasterization. Instead, information about primitives that would have been rasterized is fed back to the application using the GL. See the glFeedbackBuffer subroutine for a description of the feedback buffer and the values in the feedback buffer.
The glPassThrough subroutine inserts a user-defined marker in the feedback buffer when it is executed in feedback mode. The Token parameter is returned as if it were a primitive; it is indicated with its own unique identifying value: GL_PASS_THROUGH_TOKEN. The order of glPassThrough commands with respect to the specification of graphics primitives is maintained.
The glPassThrough subroutine is ignored if the GL is not in feedback mode.
|GL_INVALID_OPERATION||The glPassThrough subroutine is called between a call to glBegin and the corresponding call to glEnd.|
Associated gets for the glPassThrough subroutine are as follows. (See the glGet subroutine for more information.)
glGet with argument GL_RENDER_MODE.
|/usr/include/GL/gl.h||Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.|
The glBegin or glEnd subroutine, glFeedbackBuffer subroutine, glRenderMode subroutine.