Next: A.1 Types of State Up: GLUT APIversion 3 Previous: 14.4 Avoid Unspecified GLUT

# A GLUT State

This appendix specifies precisely what programmer visible state GLUT maintains. There are three categories of programmer visible state that GLUT maintains: global, window, and menu. The window and menu state categories are maintained for each created window or menu. Additional overlay-related window state is maintained when an overlay is established for a window for the lifetime of the overlay.

The tables below name each element of state, its type, specify what GLUT API entry points set or change the state (if possible), specify what GLUT API entry point or `glutGet`, `glutDeviceGet`, or `glutLayerGet` state constant is used to get the state (if possible), and how the state is initially set. For details of how any API entry point operates on the specified state, see the routine's official description. Footnotes for each category of state indicate additional caveats to the element of state.

- A.1 Types of State
- A.2 Global State
  - A.2.1 Program Controlled State
  - A.2.2 Fixed System Dependent State
- A.3 Window State
  - A.3.1 Basic State
  - A.3.2 Frame Buffer Capability State
  - A.3.3 Layer State
- A.4 Menu State

Next: A.1 Types of State Up: GLUT APIversion 3 Previous: 14.4 Avoid Unspecified GLUT