GLRENDERBUFFERREDSIZE
GLRENDERBUFFERREDSIZE is a queryable parameter in OpenGL that returns the number of color samples in a renderbuffer object. Renderbuffers are a type of OpenGL object used for offscreen rendering. They store pixel data that can be used as a source for rendering operations or as a destination for rendering. Renderbuffers are often used in conjunction with framebuffers for tasks such as shadow mapping, post-processing effects, and multisample anti-aliasing (MSAA).
When a renderbuffer is created with multisampling enabled, it is configured to store multiple samples per pixel.
To query the number of color samples, an application first binds the renderbuffer object of interest using
---