1SDL_GLattr(3) SDL API Reference SDL_GLattr(3)
2
3
4
6 SDL_GLattr - SDL GL Attributes
7
9 SDL_GL_RED_SIZE Size of the framebuffer red component, in bits
10
11 SDL_GL_GREEN_SIZE Size of the framebuffer green component, in bits
12
13 SDL_GL_BLUE_SIZE Size of the framebuffer blue component, in bits
14
15 SDL_GL_ALPHA_SIZE Size of the framebuffer alpha component, in bits
16
17 SDL_GL_DOUBLEBUFFER 0 or 1, enable or disable double buffering
18
19 SDL_GL_BUFFER_SIZE Size of the framebuffer, in bits
20
21 SDL_GL_DEPTH_SIZE Size of the depth buffer, in bits
22
23 SDL_GL_STENCIL_SIZE Size of the stencil buffer, in bits
24
25 SDL_GL_ACCUM_RED_SIZE
26 Size of the accumulation buffer red component, in
27 bits
28
29 SDL_GL_ACCUM_GREEN_SIZE
30 Size of the accumulation buffer green component, in
31 bits
32
33 SDL_GL_ACCUM_BLUE_SIZE
34 Size of the accumulation buffer blue component, in
35 bits
36
37 SDL_GL_ACCUM_ALPHA_SIZE
38 Size of the accumulation buffer alpha component, in
39 bits
40
42 While you can set most OpenGL attributes normally, the attributes list
43 above must be known before SDL sets the video mode. These attributes a
44 set and read with SDL_GL_SetAttribute and SDL_GL_GetAttribute.
45
47 SDL_GL_SetAttribute, SDL_GL_GetAttribute
48
49
50
51SDL Tue 11 Sep 2001, 23:01 SDL_GLattr(3)