1GLPASSTHROUGH(3G) OpenGL Manual GLPASSTHROUGH(3G)
2
3
4
6 glPassThrough - place a marker in the feedback buffer
7
9 void glPassThrough(GLfloat token);
10
12 token
13 Specifies a marker value to be placed in the feedback buffer
14 following a GL_PASS_THROUGH_TOKEN.
15
17 Feedback is a GL render mode. The mode is selected by calling
18 glRenderMode() with GL_FEEDBACK. When the GL is in feedback mode, no
19 pixels are produced by rasterization. Instead, information about
20 primitives that would have been rasterized is fed back to the
21 application using the GL. See the glFeedbackBuffer() reference page for
22 a description of the feedback buffer and the values in it.
23
24 glPassThrough inserts a user-defined marker in the feedback buffer when
25 it is executed in feedback mode. token is returned as if it were a
26 primitive; it is indicated with its own unique identifying value:
27 GL_PASS_THROUGH_TOKEN. The order of glPassThrough commands with respect
28 to the specification of graphics primitives is maintained.
29
31 glPassThrough is ignored if the GL is not in feedback mode.
32
34 GL_INVALID_OPERATION is generated if glPassThrough is executed between
35 the execution of glBegin() and the corresponding execution of glEnd().
36
38 glGet() with argument GL_RENDER_MODE
39
41 glFeedbackBuffer(), glRenderMode()
42
44 Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
45 under the SGI Free Software B License. For details, see
46 http://oss.sgi.com/projects/FreeB/.
47
49 opengl.org
50
51
52
53opengl.org 07/13/2018 GLPASSTHROUGH(3G)