glutInitDisplayMode (3) - Linux Manuals
glutInitDisplayMode: Set the window creation display mode.
NAME
glutInitDisplayMode - Set the window creation display mode.LIBRARY
OpenGLUT - windowSYNOPSIS
In openglut.h Ft void Fn glutInitDisplayMode unsigned int displayModePARAMETERS
Bf Em
DESCRIPTION
glutInitDisplayMode() allows you to control the mode for subsequent OpenGLUT windows.
Allowable
Bf Sy
Red, green, blue framebuffer.
Red, green, blue, alpha framebuffer.
Indexed color framebuffer.
Single-buffered mode.
Double-buffered mode.
Accumulation buffer.
Alpha channel.
Depth buffering.
Stencil buffering.
Multisampling mode. (not always available)
Left and right framebuffers.
Greyscale color mode.
Additionally, the following
Bf Li
Offscreen windows are very much
like onscreen windows that have been dragged off of the
edge of the screen. The biggest issue is that offscreen
windows do not support subwindows. Other than that,
onscreen windows that are dragged off of the edge may not
store graphics that you render (while
Bf Sy
Borderless windows are very experimental,
and their precise behavior is not set in stone.
See also glutCreateMenuWindow().
The following are
Bf Li
CAVEATS
Some display mode features were introduced by OpenGLUT.Not all features or combinations of features are valid for all platforms.
There is no way to change the display mode of an open window.
BUGS
Bf Sy
Bf Sy
SEE ALSO
glutCreateMenuWindow(3) glutInit(3) glutInitWindowSize(3) glutInitWindowPosition(3) glutInitDisplayString(3) glutSwapBuffers(3)