GLGETMINMAXPARAMETER(3G)
π GLGETMINMAXPARAMETER β get minmax parameters π
okay bestie, welcome to the 3G manual, this one's literally called GLGETMINMAXPARAMETER and it's giving "how do i peek at my minmax table's settings" energy. no cap, it's short, it's sweet, let's go π¦
β¨ C SPECIFICATION β¨
void glGetMinmaxParameterfv( GLenum target,
GLenum pname,
GLfloat *params )
void glGetMinmaxParameteriv( GLenum target,
GLenum pname,
GLint *params )
two functions, one vibe. the fv one hands you floats, the iv one hands you ints, and both of them just want to spill the tea about your minmax parameters into *params. π
πΈ PARAMETERS πΈ
targetβ must beGL_MINMAX. like, that's the only option, it's not a multiple choice situation bestie. πpnameβ the parameter you're tryna retrieve. must be one ofGL_MINMAX_FORMATorGL_MINMAX_SINK.paramsβ a pointer to storage for the retrieved parameters. she's the vessel, the little bucket where the answers land. π
π«Ά DESCRIPTION π«Ά
glGetMinmaxParameter retrieves parameters for the current minmax table, and you get to pick which one by setting pname to one of these iconic values:
GL_MINMAX_FORMATβ internal of minmax tableGL_MINMAX_SINKβ value of the sink parameter
that's it. that's the whole menu. two choices, both slay. β¨
π NOTES π
glGetMinmaxParameteris present only ifGL_ARB_imagingis returned whenglGetStringis called with an argument ofGL_EXTENSIONS.
so fr fr, if that extension string isn't showing up, this function isn't even in the group chat. check before you call, or you're gonna have a bad time. π
π₯ ERRORS π₯
GL_INVALID_ENUMis generated iftargetis notGL_MINMAX. wrong target, blocked. π«GL_INVALID_ENUMis generated ifpnameis not one of the allowable values. she said what she said, pick a real one.GL_INVALID_OPERATIONis generated ifglGetMinmaxParameteris executed between the execution ofglBeginand the corresponding execution ofglEnd. do not try this mid-glBegin, it's not that kind of party. π
π SEE ALSO π
glMinmax(3G)glGetMinmax(3G)
go read those too, they're the rest of the lore, iykyk. π
okay that's the whole page, you ate that. this was the GLGETMINMAXPARAMETER(3G) page from the 3G manual β sending you love and lowkey flawless minmax reads, mwah πππΈ
π¦ 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