Stores the current environment in GL. More...
#include <Inventor/elements/SoGLEnvironmentElement.h>
Public Member Functions | |
virtual void | push (SoState *state) |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
This element stores the current environment in GL.
NOTE: This class does not exist in Open Inventor 10.0 and later.static int SoGLEnvironmentElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoEnvironmentElement.
static SoType SoGLEnvironmentElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEnvironmentElement.
virtual void SoGLEnvironmentElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Overrides pop() method so side effects can occur in GL.
virtual void SoGLEnvironmentElement::push | ( | SoState * | state | ) | [virtual] |
Overrides push() method to remember previous element's state so we can sometimes generate more efficient GL calls.
Reimplemented from SoEnvironmentElement.