GLRESETHISTOGRAM(3G)
π glResetHistogram π
okay bestie, welcome to the 3G manual page for glResetHistogram β yes that's the one, the glow-up reset button for your histogram table. let's get into it π«Ά
β¨ NAME β¨
glResetHistogram β reset histogram table entries to zero
like. it does exactly what it says on the tin. zeroes out the histogram table entries. no cap.
π C SPECIFICATION π
void glResetHistogram( GLenum target )
that's the whole signature, gorgeous. one argument, no return value, iconic behavior.
π¦ PARAMETERS π¦
targetβ must beGL_HISTOGRAM. that's it. that's the only accepted vibe here. anything else and the errors section is gonna have a moment.
π DESCRIPTION π
glResetHistogram resets all the elements of the current histogram table to zero.
every single one. the whole table. zeroed. it's giving clean slate energy β¨
πΈ NOTES πΈ
glResetHistogram is present only if GL_ARB_imaging is returned when glGetString is called with an argument of GL_EXTENSIONS.
so likeβ¦ if you're checking for it and it's not there, that's why. check your extensions first, bestie. iykyk π
π ERRORS π
GL_INVALID_ENUMis generated iftargetis notGL_HISTOGRAM.GL_INVALID_OPERATIONis generated ifglResetHistogramis executed between the execution ofglBeginand the corresponding execution ofglEnd.
fr fr do not call this one mid-glBegin/glEnd. the GL gods will simply not allow it. that's an operation error and it's not cute π
π₯ SEE ALSO π₯
glHistogram(3G)
go read that one too, it's the sister page, they're a matched set π
and that's a wrap on the GLRESETHISTOGRAM(3G) page, straight from the 3G manual, footer and all β mwah, bye bestie ππβ¨
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- fedora 43: gl-manpages 1.1-34.20190306.fc43 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- fedora 44: gl-manpages 1.1-35.20190306.fc44 Β· Apache-2.0 AND HPND AND HPND-sell-variant AND MIT AND OpenPBS-2.3 AND SGI-B-2.0 AND W3C-19980720 AND X11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms