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