All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLPushAttrib Class Reference

#include <ImathGL.h>

Public Member Functions

 GLPushAttrib (GLbitfield mask)
 call glPushAttrib() More...
 ~GLPushAttrib ()
 call glPopAttrib() More...

Detailed Description

A class object that pushes/pops the current GL attribute state. This object assists with proper cleanup of the state when exceptions are thrown.

Definition at line 148 of file ImathGL.h.

Constructor & Destructor Documentation

GLPushAttrib::GLPushAttrib ( GLbitfield  mask)

call glPushAttrib()

Definition at line 152 of file ImathGL.h.

GLPushAttrib::~GLPushAttrib ( )

call glPopAttrib()

Definition at line 155 of file ImathGL.h.

The documentation for this class was generated from the following file: