table of contents
other versions
- wheezy-backports 3.1.4~abc9f50-3~bpo70+1
- jessie 3.1.4~abc9f50-7
SoGLLazyElement(3) | Coin | SoGLLazyElement(3) |
NAME¶
SoGLLazyElement - The SoGLLazyElement class is meant to optimize GL rendering. This is just a wrap-around implementation for compatibility. It should (hopefully) work in the same way as the Inventor class though.SYNOPSIS¶
#include <Inventor/elements/SoGLLazyElement.h> Inherits SoLazyElement.Public Member Functions¶
virtual void init (SoState *state)
Static Public Member Functions¶
static SoType getClassTypeId (void)
Protected Member Functions¶
virtual void lazyDidSet (uint32_t mask)
Additional Inherited Members¶
Detailed Description¶
The SoGLLazyElement class is meant to optimize GL rendering. This is just a wrap-around implementation for compatibility. It should (hopefully) work in the same way as the Inventor class though.Member Function Documentation¶
SoType SoGLLazyElement::getClassTypeId (void) [static]¶
This static method returns the class type. Reimplemented from SoLazyElement.int SoGLLazyElement::getClassStackIndex (void) [static]¶
This static method returns the state stack index for the class. Reimplemented from SoLazyElement.void * SoGLLazyElement::createInstance (void) [static]¶
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer. Reimplemented from SoLazyElement.void SoGLLazyElement::initClass (void) [static]¶
This static method initializes static data for the SoDiffuseColorElement class. Reimplemented from SoLazyElement.void SoGLLazyElement::init (SoState *state) [virtual]¶
This function initializes the element type in the given SoState. It is called for the first element of each enabled element type in SoState objects. Reimplemented from SoLazyElement.void SoGLLazyElement::push (SoState *state) [virtual]¶
This method is called every time a new element is required in one of the stacks. This happens when a writable element is requested, using SoState::getElement() or indirectly SoElement::getElement(), and the depth of the current element is less than the state depth. Override this method if your element needs to copy data from the previous top of stack. The push() method is called on the new element, and the previous element can be found using SoElement::getNextInStack(). Reimplemented from SoLazyElement.void SoGLLazyElement::pop (SoState *state, const SoElement *prevTopElement) [virtual]¶
This method is callled when the state is popped, and the depth of the element is bigger than the current state depth. pop() is called on the new top of stack, and a pointer to the previous top of stack is passed in prevTopElement. Override this method if you need to copy some state information from the previous top of stack. Reimplemented from SoElement.void SoGLLazyElement::reset (SoState *stateptr, uint32_tmask) const¶
Reset element GL state (set state to invalid). Use this method to notify this element when you use your own GL code that changes the OpenGL state.void SoGLLazyElement::mergeCacheInfo (SoState *state, SoGLLazyElement::GLState *childprestate, SoGLLazyElement::GLState *childpoststate) [static]¶
Merge cache info from a child cache (when doing nested caching) into the current cache.Author¶
Generated automatically by Doxygen for Coin from the source code.Sat Oct 12 2013 | Version 4.0.0a |