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
- 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