GLPASSTHROUGH(3G)
β¨ GLPASSTHROUGH β¨
okay bestie, so this is the glPassThrough page from the 3G manual (that's the OpenGL section, iykyk) and it's literally so short but so useful. buckle up π
πΈ NAME πΈ
glPassThrough β place a marker in the feedback buffer
like. that's it. that's the whole job. drop a lil flag in there so future-you knows what was up π
π¦ C SPECIFICATION π¦
void glPassThrough( GLfloat token )
π PARAMETERS π
tokenβ the marker value you want dropped into the feedback buffer right after aGL_PASS_THROUGH_TOKEN. your little sticky note. your bookmark. your "i was here" π«Ά
β¨ DESCRIPTION β¨
so, feedback is a GL render mode. you get into it by calling glRenderMode with GL_FEEDBACK. and when the GL is in feedback mode? no pixels get produced by rasterization. none. zero. the vibes are β¨informational onlyβ¨. instead, info about the primitives that would have been rasterized gets fed back to the application using the GL. if you want the full rundown of the feedback buffer and what all the values in it mean, go read the glFeedbackBuffer reference page, bestie, it's all there π
glPassThrough inserts a user-defined marker in the feedback buffer when it's executed in feedback mode. token comes back at you as if it were a primitive β it gets its own unique identifying value: GL_PASS_THROUGH_TOKEN. and the order of glPassThrough commands relative to how you specified your graphics primitives? maintained. preserved. respected. the timeline stays correct β³π
π NOTES π
glPassThrough is ignored if the GL is not in feedback mode. no feedback mode, no marker, no drama. it just doesn't happen π
π ERRORS π
GL_INVALID_OPERATIONis generated ifglPassThroughis executed between the execution ofglBeginand the corresponding execution ofglEnd. like... do NOT do that. stay out of the begin/end sandwich, it is not your moment π
π ASSOCIATED GETS π
glGetwith argumentGL_RENDER_MODE
π SEE ALSO π
glFeedbackBuffer(3G)glRenderMode(3G)
fr fr, keep your markers in order, keep your begin/end blocks clean, and always check your render mode first. that's the whole page. slay π β¨
okay that's the whole thing bestie β this was the GLPASSTHROUGH page out of the 3G manual, mwah, go forth and mark your feedback buffers π¦ππ
π¦ where this page comes from
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms