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