SDL_GLattr3
Sdl gl attributes
Attributes
|
Size of the framebuffer red component, in bits |
|---|---|
|
Size of the framebuffer green component, in bits |
|
Size of the framebuffer blue component, in bits |
|
Size of the framebuffer alpha component, in bits |
|
0 or 1, enable or disable double buffering |
|
Size of the framebuffer, in bits |
|
Size of the depth buffer, in bits |
|
Size of the stencil buffer, in bits |
|
Size of the accumulation buffer red component, in bits |
|
Size of the accumulation buffer green component, in bits |
|
Size of the accumulation buffer blue component, in bits |
|
Size of the accumulation buffer alpha component, in bits |
Overview
While you can set most OpenGL attributes normally, the attributes list above must be known before SDL sets the video mode. These attributes a set and read with SDL_GL_SetAttribute and SDL_GL_GetAttribute.
Releases
11 releases since Debian 3.0 (Woody); the text changed 1 time.