Penguin
Blame: SDL_GLattr(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of SDL_GLattr(3) version 2, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SDL_GLattr
2 !!!SDL_GLattr
3 NAME
4 ATTRIBUTES
5 DESCRIPTION
6 SEE ALSO
7 ----
8 !!NAME
9
10
11 SDL_GLattr- SDL GL Attributes
12 !!ATTRIBUTES
13
14
15 __SDL_GL_RED_SIZE__
16
17
18 Size of the framebuffer red component, in bits
19
20
21 __SDL_GL_GREEN_SIZE__
22
23
24 Size of the framebuffer green component, in
25 bits
26
27
28 __SDL_GL_BLUE_SIZE__
29
30
31 Size of the framebuffer blue component, in bits
32
33
34 __SDL_GL_ALPHA_SIZE__
35
36
37 Size of the framebuffer alpha component, in
38 bits
39
40
41 __SDL_GL_DOUBLEBUFFER__
42
43
44 0 or 1, enable or disable double buffering
45
46
47 __SDL_GL_BUFFER_SIZE__
48
49
50 Size of the framebuffer, in bits
51
52
53 __SDL_GL_DEPTH_SIZE__
54
55
56 Size of the depth buffer, in bits
57
58
59 __SDL_GL_STENCIL_SIZE__
60
61
62 Size of the stencil buffer, in bits
63
64
65 __SDL_GL_ACCUM_RED_SIZE__
66
67
68 Size of the accumulation buffer red component, in
69 bits
70
71
72 __SDL_GL_ACCUM_GREEN_SIZE__
73
74
75 Size of the accumulation buffer green component, in
76 bits
77
78
79 __SDL_GL_ACCUM_BLUE_SIZE__
80
81
82 Size of the accumulation buffer blue component, in
83 bits
84
85
86 __SDL_GL_ACCUM_ALPHA_SIZE__
87
88
89 Size of the accumulation buffer alpha component, in
90 bits
91 !!DESCRIPTION
92
93
94 While you can set most OpenGL attributes normally, the
95 attributes list above must be known ''before'' SDL sets
96 the video mode. These attributes a set and read with
2 perry 97 __SDL_GL_!SetAttribute__ and
98 __SDL_GL_!GetAttribute__.
1 perry 99 !!SEE ALSO
100
101
2 perry 102 __SDL_GL_!SetAttribute__,
103 __SDL_GL_!GetAttribute__
1 perry 104 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.