1UNTITLED LOCAL UNTITLED
2
4 glutInitDisplayString — Set the window creation display mode.
5
7 OpenGLUT - window
8
10 #include <openglut.h>
11
12 void
13 glutInitDisplayString(const char *displayMode);
14
16 displayMode Requested display mode string.
17
19 glutInitDisplayString() permits you to define a display mode for subse‐
20 quent windows that you open. In most regards, control is at least as
21 fine as with glutInitDisplaymode().
22
23 The displayMode parameter is case-sensitive, and tokens are separated
24 by ASCII TABs (\t) and SPACEs.
25
26 - index
27 Enables GLUT_INDEX.
28
29 - luminance
30 Enables GLUT_LUMINANCE. Enables GLUT_STENCIL.
31
32 - red
33 Number of red channel bits.
34
35 - green
36 Number of green channel bits.
37
38 - blue
39 Number of blue channel bits.
40
41 - alpha
42 Number of alpha channel bits. Enables GLUT_ALPHA.
43
44 - rgb
45 Number of RGB channel bits, no aplha bits. Enables GLUT_RGB.
46
47 - rgba
48 Number of RGBA channel bits. Enables GLUT_RGBA.
49
50 - depth
51 Number of depth buffer bits.
52
53 - stencil
54 Number of stencil buffer bits.
55
56 - double
57 Enables GLUT_DOUBLE.
58
59 - single
60 Enables GLUT_SINGLE.
61
62 - stereo
63 Enables GLUT_STERO.
64
65 - acca
66 Number of RGBA accumulation bits. Enables GLUT_ACCUM.
67
68 - acc
69 Number of RGB accumulation bits. Enables GLUT_ACCUM.
70
71 - samples
72 Number of samples for GLX's SGIS_Multisample. Enables GLUT_MULTISAM‐
73 PLE.
74
75 - buffer
76 [TODO] Sets bits in index mode?
77
78 - conformant
79 [TODO] Conformant with what? Enables GLUT_DEPTH.
80
81 - slow
82 [TODO] Indicates if a frame-buffer is slow.
83
84 - num
85 [TODO] Appears to select a frame-buffer configuration by number from an
86 unspecified list. Probably very non-portable.
87
88 A special capability name indicating where the value represents the Nth
89 frame buffer configuration matching the description string
90
91 - win32pdf
92 Win32 specific: Pixel Format Descriptor
93
94 - win32pfd
95 Win32 specific: Pixel Format Descriptor
96
97 - xvisual
98 X11 specific: X Visual
99
100 - xstaticgray
101 X11 specific: "staticgray" mode.
102
103 - xgrayscale
104 X11 specific: "grayscale" mode.
105
106 - xstaticcolor
107 X11 specific: "staticcolor" mode.
108
109 - xpseudocolor
110 X11 specific: "pseudocolor" mode.
111
112 - xtruecolor
113 X11 specific: "trueolor" mode.
114
115 - xdirectcolor
116 X11 specific: "directcolor" mode.
117
119 Conflicting modes, such as single and double have the same interac‐
120 tion as for glutInitDisplayMode().
121
123 GLUT_BORDERLESS and GLUT_OFFSCREEN are not represented.
124
125 Not all features appear to be implemented. In particular, numeric param‐
126 eters and comparator specifications are lacking. See GLUT 3.7 sources for
127 example.
128
129 PyOpenGL <a href="http://pyopengl.sourceforge.net/documentation/man‐
130 ual/glutInitDisplayString.3GLUT.html"> glutInitDisplayString</a> documen‐
131 tation.
132
134 glutInit(3) glutInitWindowPosition(3) glutInitWindowSize(3)
135 glutInitDisplayMode(3)
136
137
138
139
140 Epoch