Previous: , Up: GL API   [Index]


3.4.5 State and State Requests

3.4.5.1 Querying GL State

Macro: with-gl-push-attrib bits body ...

Save part of the current state, evaluation the sequence of body expressions, then restore the state. Use attrib-mask to specify which parts of the state to save.