other versions
- jessie 3.1.4~abc9f50-7
| SoGLRenderCache(3) | Coin | SoGLRenderCache(3) |
NAME¶
SoGLRenderCache - The SoGLRenderCache class is used to cache OpenGL calls.SYNOPSIS¶
#include <Inventor/caches/SoGLRenderCache.h> Inherits SoCache.Public Member Functions¶
SoGLRenderCache (SoState *state)
Protected Member Functions¶
virtual void destroy (SoState *state)
Detailed Description¶
The SoGLRenderCache class is used to cache OpenGL calls.Constructor & Destructor Documentation¶
SoGLRenderCache::SoGLRenderCache ( SoState *state)¶
Constructor with state being the current state.SoGLRenderCache::~SoGLRenderCache () [virtual]¶
Destructor.Member Function Documentation¶
void SoGLRenderCache::open ( SoState *state)¶
Opens the cache. All GL calls will be cached until close() is called. See also:close()
call()
void SoGLRenderCache::close (void)¶
Closes the cache. Should be called after all GL calls. See also:open()
void SoGLRenderCache::call ( SoState *state)¶
Executes the cached display list. See also:open()
int SoGLRenderCache::getCacheContext (void) const¶
Returns the cache context of this cache. This is used to quickly determine if cache can be used for a state. This method is an extension versus the Open Inventor API.SbBool SoGLRenderCache::isValid (const SoState *state) const [virtual]¶
Return TRUE if this cache is valid, FALSE otherwise. Reimplemented from SoCache.void SoGLRenderCache::addNestedCache ( SoGLDisplayList *child) [virtual]¶
Adds a display list which is called from this cache. This is to make sure the child display list isn't destroyed too early.void SoGLRenderCache::destroy ( SoState *state) [protected], [virtual]¶
Can be overridden by subclasses to clean up before they are deleted. Default method does nothing. Reimplemented from SoCache.Author¶
Generated automatically by Doxygen for Coin from the source code.| Thu May 29 2014 | Version 4.0.0a |