Stores current shape hints and sends commands to GL based on them. More...
#include <Inventor/elements/SoGLShapeHintsElement.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 () |
Stores current shape hints and sends commands to GL based on them.
This element stores current shape hints and sends commands to GL based on them. All three hints must be set at the same time; to leave any hint as is, use the "AS_IS" enum value.
NOTE: This class does not exist in Open Inventor 10.0 and later.static int SoGLShapeHintsElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoShapeHintsElement.
static SoType SoGLShapeHintsElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoShapeHintsElement.
virtual void SoGLShapeHintsElement::pop | ( | SoState * | state, | |
const SoElement * | prevTopElement | |||
) | [virtual] |
Overrides pop() method so side effects can occur in GL.
virtual void SoGLShapeHintsElement::push | ( | SoState * | state | ) | [virtual] |
Overrides push() method to remember previous element's state so we can sometimes generate more efficient GL calls.
Reimplemented from SoShapeHintsElement.