GLGETMULTISAMPLEFV(3G)
π NAME
glGetMultisamplefv β retrieve the location of a sample. This is the GLGETMULTISAMPLEFV page from the 3G manual, header tag [FIXME: manual], and we're keeping every fact on board, bestie. π
β¨ C SPECIFICATION
void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
π¦ PARAMETERS
pnameβ the sample parameter name. It must beGL_SAMPLE_POSITION.indexβ the index of the sample whose position you're querying.valβ the address of an array that receives the position of the sample.
π DESCRIPTION
glGetMultisamplefv queries the location of a given sample. pname says which sample parameter to retrieve, and it must be GL_SAMPLE_POSITION. index is the sample whose location should be returned.
The sample location comes back as two floating-point values in val[0] and val[1], each between 0 and 1, corresponding to the x and y locations respectively in the GL pixel space of that sample. (0.5, 0.5) corresponds to the pixel center. index must be between zero and the value of GL_SAMPLES minus one.
If the multisample mode does not have fixed sample locations, the returned values may only reflect the locations of samples within some pixels.
π₯ ERRORS
GL_INVALID_ENUMis generated ifpnameis not oneGL_SAMPLE_POSITION.GL_INVALID_VALUEis generated ifindexis greater than or equal to the value ofGL_SAMPLES.
π VERSION SUPPORT
The feature/function name is glGetMultisamplefv. Here's the OpenGL version tea, from 2.0 all the way to 4.5: not supported (-) on 2.0, 2.1, 3.0, 3.1; supported (β) on 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5. That's the whole row, no cap. π
πΈ SEE ALSO
glGenFramebuffers()glBindFramebuffer()
π COPYRIGHT
Copyright Β© 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
π COPYRIGHT
Copyright Β© 2010-2014 Khronos Group.
Sign-off time, bestie: this page's source/version footer says [FIXME: source], and the date on it is 08/09/2021. π«Άβ¨
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms