GLGETMINMAXPARAMETER(3G)

πŸ“¦ version 1.1, in centos-stream 9, fedora 43, fedora 44

πŸ’– 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 be GL_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 of GL_MINMAX_FORMAT or GL_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 table
  • GL_MINMAX_SINK β€” value of the sink parameter

that's it. that's the whole menu. two choices, both slay. ✨


πŸ’€ NOTES πŸ’€

glGetMinmaxParameter is present only if GL_ARB_imaging is returned when glGetString is called with an argument of GL_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_ENUM is generated if target is not GL_MINMAX. wrong target, blocked. 🚫
  • GL_INVALID_ENUM is generated if pname is not one of the allowable values. she said what she said, pick a real one.
  • GL_INVALID_OPERATION is generated if glGetMinmaxParameter is executed between the execution of glBegin and the corresponding execution of glEnd. 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