MirOS Manual: glPassThrough(3)


GLPASSTHROUGH(3G)   UNIX Programmer's Manual    GLPASSTHROUGH(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 GL_PASS_THROUGH_TOKEN.

DESCRIPTION

     Feedback is a GL render mode. The mode is selected by cal-
     ling glRenderMode with GL_FEEDBACK. When the GL is in feed-
     back 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 reference page for a description 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: GL_PASS_THROUGH_TOKEN. The
     order of glPassThrough commands with respect to the specifi-
     cation of graphics primitives is maintained.

NOTES

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

ERRORS

     GL_INVALID_OPERATION is generated if glPassThrough is exe-
     cuted between the execution of glBegin and the corresponding
     execution of glEnd.

ASSOCIATED GETS

     glGet with argument GL_RENDER_MODE

SEE ALSO

     glFeedbackBuffer(3G), glRenderMode(3G)

MirOS BSD #10-current   Printed 20.2.2012                       1

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.