Gl.PassThrough (gb.opengl)
Static Sub PassThrough ( Token As Float )
Place a marker in the feedback buffer.
Parameters
- token
-
Specifies a marker value to be placed in the feedback buffer
following a Gl.PASS_THROUGH_TOKEN.
Description
Feedback is a GL render mode.
The mode is selected by calling
Gl.RenderMode 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
Gl.FeedbackBuffer reference page for a description of the
feedback buffer and the values in it.
Gl.PassThrough 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:
Gl.PASS_THROUGH_TOKEN.
The order of
Gl.PassThrough commands with respect to the specification
of graphics primitives is maintained.
Notes
Gl.PassThrough is ignored if the GL is not in feedback mode.
Errors
Gl.INVALID_OPERATION is generated if
Gl.PassThrough is executed between
the execution of Gl.Begin and the corresponding execution of Gl.End.
Associated Gets
Gl.Get with argument Gl.RENDER_MODE
See also
See original documentation on OpenGL website