Scroll to navigation

SDL_GLattr(3) SDL API Reference SDL_GLattr(3)

NAME

SDL_GLattr - 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

DESCRIPTION

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.

SEE ALSO

SDL_GL_SetAttribute, SDL_GL_GetAttribute

Tue 11 Sep 2001, 23:01 SDL