next up previous contents index
Next: A.3.3 Layer State Up: A.3 Window State Previous:A.3.1 Basic State

A.3.2 Frame Buffer Capability State

 
Name Type Get
Total number of bits in color buffer Integer GLUT_WINDOW_BUFFER_SIZE
Number of bits in stancil buffer Integer GLUT_WINDOW_STENCIL_SIZE
Number of bits in depth buffer Integer GLUT_WINDOW_DEPTH_SIZE
Number of bits of red stored in color buffer Integer GLUT_WINDOW_RED_SIZE
Number of bits of green stored in color buffer Integer GLUT_WINDOW_GREEN_SIZE
Number of bits of blue stored in color buffer Integer GLUT_WINDOW_BLUE_SIZE
Number of bits of alpha stored in color buffer Integer GLUT_WINDOW_ALPHA_SIZE
Number of bits of red stored in accumulation buffer Integer GLUT_WINDOW_ACCUM_RED_SIZE
Number of bits of green stored in accumulation buffer Integer GLUT_WINDOW_ACCUM_GREEN_SIZE
Number of bits of blue stored in accumulation buffer Integer GLUT_WINDOW_ACCUM_BLUE_SIZE
Number of bits of alpha stored in accumulation buffer Integer GLUT_WINDOW_ACCUM_ALPHA_SIZE
Color index colormap size Integer GLUT_WINDOW_COLORMAP_SIZE
If double bufferd Boolean GLUT_WINDOW_DOUBLEBUFFER
If RGBA color model Boolean GLUT_WINDOW_RGBA
If stereo Boolean GLUT_WINDOW_STEREO
Number of samples for multisampling Integer GLUT_WINDOW_MULTISAMPLE

ウィンドウ(ノーマル・プレーン)のフレームバッファ容量のステートは, そのウィンドウの生成時にグローバルな initDisplayMode ステートから得られます. ウィンドウのフレームバッファ容量は変更できません.


next up previous contents index
Next: A.3.3 Layer State Up: A.3 Window State Previous:A.3.1 Basic State
Mark Kilgard
Fri Feb 23 08:05:02 PST 1996