glutInitDisplayString (3) - Linux Manuals

glutInitDisplayString: Set the window creation display mode.

NAME

glutInitDisplayString - Set the window creation display mode.

LIBRARY

OpenGLUT - window

SYNOPSIS

In openglut.h Ft void Fn glutInitDisplayString const char *displayMode

PARAMETERS

Bf Em
 displayMode Ef
    Requested display mode string.

DESCRIPTION

glutInitDisplayString() permits you to define a display mode for subsequent windows that you open. In most regards, control is at least as fine as with glutInitDisplaymode().

The Bf Sy
 displayMode Ef
 parameter is case-sensitive, and tokens are separated by ASCII TABs (\t) and SPACEs.


  Bf Sy
 index Ef
 
Enables Bf Sy
 GLUT_INDEX. Ef
 


  Bf Sy
 luminance Ef
 
Enables Bf Sy
 GLUT_LUMINANCE. Ef
  Enables Bf Sy
 GLUT_STENCIL. Ef
 


  Bf Sy
 red Ef
 
Number of red channel bits.


  Bf Sy
 green Ef
 
Number of green channel bits.


  Bf Sy
 blue Ef
 
Number of blue channel bits.


  Bf Sy
 alpha Ef
 
Number of alpha channel bits. Enables Bf Sy
 GLUT_ALPHA. Ef
 


  Bf Sy
 rgb Ef
 
Number of Bf Sy
 RGB Ef
 channel bits, no aplha bits. Enables Bf Sy
 GLUT_RGB. Ef
 


  Bf Sy
 rgba Ef
 
Number of Bf Sy
 RGBA Ef
 channel bits. Enables Bf Sy
 GLUT_RGBA. Ef
 


  Bf Sy
 depth Ef
 
Number of depth buffer bits.


  Bf Sy
 stencil Ef
 
Number of stencil buffer bits.


  Bf Sy
 double Ef
 
Enables Bf Sy
 GLUT_DOUBLE. Ef
 


  Bf Sy
 single Ef
 
Enables Bf Sy
 GLUT_SINGLE. Ef
 


  Bf Sy
 stereo Ef
 
Enables Bf Sy
 GLUT_STERO. Ef
 


  Bf Sy
 acca Ef
 
Number of Bf Sy
 RGBA Ef
 accumulation bits. Enables Bf Sy
 GLUT_ACCUM. Ef
 


  Bf Sy
 acc Ef
 
Number of Bf Sy
 RGB Ef
 accumulation bits. Enables Bf Sy
 GLUT_ACCUM. Ef
 


  Bf Sy
 samples Ef
 
Number of samples for GLX's Bf Sy
 SGIS_Multisample. Ef
  Enables Bf Sy
 GLUT_MULTISAMPLE. Ef
 


  Bf Sy
 buffer Ef
 
[TODO] Sets bits in index mode?


  Bf Sy
 conformant Ef
 
[TODO] Conformant with what? Enables Bf Sy
 GLUT_DEPTH. Ef
 


  Bf Sy
 slow Ef
 
[TODO] Indicates if a frame-buffer is slow.


  Bf Sy
 num Ef
 
[TODO] Appears to select a frame-buffer configuration by number from an unspecified list. Probably very non-portable.

A special capability name indicating where the value represents the Nth frame buffer configuration matching the description string


  Bf Sy
 win32pdf Ef
 
Win32 specific: Pixel Format Descriptor


  Bf Sy
 win32pfd Ef
 
Win32 specific: Pixel Format Descriptor


  Bf Sy
 xvisual Ef
 
X11 specific: X Visual


  Bf Sy
 xstaticgray Ef
 
X11 specific: "staticgray" mode.


  Bf Sy
 xgrayscale Ef
 
X11 specific: "grayscale" mode.


  Bf Sy
 xstaticcolor Ef
 
X11 specific: "staticcolor" mode.


  Bf Sy
 xpseudocolor Ef
 
X11 specific: "pseudocolor" mode.


  Bf Sy
 xtruecolor Ef
 
X11 specific: "trueolor" mode.


  Bf Sy
 xdirectcolor Ef
 
X11 specific: "directcolor" mode.

CAVEATS

Conflicting modes, such as Bf Sy
 single Ef
 and  Bf Sy
 double Ef
 have the same interaction as for glutInitDisplayMode().

TODO

Bf Sy
 GLUT_BORDERLESS Ef
 and  Bf Sy
 GLUT_OFFSCREEN Ef
 are not represented.

Not all features appear to be implemented. In particular, numeric parameters and comparator specifications are lacking. See GLUT 3.7 sources for example.

PyOpenGL <a href="http://pyopengl.sourceforge.net/documentation/manual/glutInitDisplayString.3GLUT.html"> glutInitDisplayString</a> documentation.