SoGLRenderCache(3)
π SoGLRenderCache(3) π
okay bestie, welcome to the Library Functions Manual page for SoGLRenderCache, and honestly? she's iconic. she caches OpenGL calls. that's her whole thing. let's get into it β¨
πΈ NAME πΈ
SoGLRenderCache β the class that is used to cache OpenGL calls. that's it, that's the vibe. no cap.
π¦ SYNOPSIS π¦
#include <Inventor/caches/SoGLRenderCache.h>
Inherits SoCache. yes she comes from a whole lineage, generational wealth of caching π
β Public Member Functions β
SoGLRenderCache (SoState *state)
virtual ~SoGLRenderCache ()
void open (SoState *state)
void close (void)
void call (SoState *state)
int getCacheContext (void) const
virtual SbBool isValid (const SoState *state) const
virtual void addNestedCache (SoGLDisplayList *child)
SoGLLazyElement::GLState * getPreLazyState (void)
SoGLLazyElement::GLState * getPostLazyState (void)
π§ Public Member Functions inherited from SoCache π§
SoCache (SoState *const state)
void ref (void)
void unref (SoState *state=NULL)
void addElement (const SoElement *const elem)
virtual void addCacheDependency (const SoState *state, SoCache *cache)
const SoElement * getInvalidElement (const SoState *const state) const
void invalidate (void)
π Protected Member Functions π
virtual void destroy (SoState *state)
π Protected Member Functions inherited from SoCache π
virtual ~SoCache ()
π Detailed Description π
The SoGLRenderCache class is used to cache OpenGL calls. that's the whole assignment, and she ate. π₯
β¨ Constructor & Destructor Documentation β¨
π SoGLRenderCache::SoGLRenderCache (SoState * state)
Constructor, with state being the current state. she's born knowing exactly where she is, main character energy fr fr π
π SoGLRenderCache::~SoGLRenderCache () [virtual]
Destructor. she said goodbye, respectfully. π«Ά
π Member Function Documentation π
πΈ void SoGLRenderCache::open (SoState * state)
Opens the cache. All GL calls will be cached until close() is called. like, every single one. the doors are open, bestie, come on in πͺβ¨
See also
close()call()
π¦ void SoGLRenderCache::close (void )
Closes the cache. Should be called after all GL calls. shut the door behind you, we're done collecting πͺπ
See also
open()
β void SoGLRenderCache::call (SoState * state)
Executes the cached display list. she's been holding onto all those GL calls and now she's serving them π₯
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. yes she's an extension, she's doing things the standard API could never π
π SbBool SoGLRenderCache::isValid (const SoState * state) const [virtual]
Return TRUE if this cache is valid, FALSE otherwise. vibe check: passed or not passed, no in-between π«‘
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. she's a protective mom, she's not letting the baby get deleted prematurely, no ma'am π₯Ί
π void SoGLRenderCache::destroy (SoState * state) [protected], [virtual]
Can be overridden by subclasses to clean up before they are deleted. Default method does nothing. so if you don't override it, she justβ¦ stands there. respectfully. doing absolutely nothing π
Reimplemented from SoCache.
π Author π
Generated automatically by Doxygen for Coin from the source code. not a human author, just a robot doing her little robot job π€β¨
okay that's the whole page bestie, you're officially fluent in SoGLRenderCache π
signing off: this was brought to you by Coin, Version 3.1.3 β and yes, the page itself is literally named SoGLRenderCache(3), we came full circle π bye pookie, go cache something π¦
π¦ where this page comes from
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 43: Coin3-devel 3.1.3-40.fc43 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- fedora 44: Coin3-devel 3.1.3-42.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms