glutUseLayer(3)

glutUseLayer3

Changes the layer in use for the current window.

Usage


    

    
        

void glutUseLayer(GLenum layer);

Warning

Not yet implemented in freeglut.

Arguments

layer

Either GLUT_NORMAL or GLUT_OVERLAY, selecting the normal plane or overlay respectively.

Overview

glutUseLayer changes the per-window layer in use for the current window, selecting either the normal plane or overlay. The overlay should only be specified if an overlay exists, however windows without an overlay may still call glutUseLayer(GLUT_NORMAL). OpenGL commands for the window are directed to the current layer in use.

To query the layer in use for a window, call glutLayerGet(GLUT_LAYER_IN_USE).

Author

Mark J. Kilgard ([email protected])

From freeglut 3.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.