SoGLCacheList(3)
π SoGLCacheList(3) π
okay bestie, so this is a page from the Library Functions Manual, and it's about a class called SoGLCacheList β yes, from the Coin fam. Let's get into it. π«Ά
β¨ NAME β¨
SoGLCacheList β the class that stores and manages OpenGL caches. that's it, that's the whole job. she's a cache manager. main character energy honestly. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull her in:
#include <include/Inventor/caches/SoGLCacheList.h>
π Public Member Functions π
here's the whole roster, no cap:
SoGLCacheList (int numcaches=2)
~SoGLCacheList ()
SbBool call (SoGLRenderAction *action)
void open (SoGLRenderAction *action, SbBool autocache=TRUE)
void close (SoGLRenderAction *action)
void invalidateAll (void)
π¦ Detailed Description π¦
so like... SoGLCacheList is used to store and manage OpenGL caches. that's the vibe. she holds them, she runs them, she's the whole operation. π
π Constructor & Destructor Documentation π
π SoGLCacheList::SoGLCacheList (int numcaches = 2)
the constructor, bestie. she's born. β¨
π SoGLCacheList::~SoGLCacheList ()
the destructor. and listen β she frees any caches that are still hanging around. she cleans up after herself. iconic behavior only. π§Ήπ
π₯ Member Function Documentation π₯
π SbBool SoGLCacheList::call (SoGLRenderAction * action)
this one tests for a valid cache and then executes it. she returns TRUE if a valid cache could be found, and FALSE if not.
heads up though: when a valid cache is found, it gets executed before this method even returns. so like, the work is already done by the time you hear back. no waiting around. π
π void SoGLCacheList::open (SoGLRenderAction * action, SbBool autocache = TRUE)
this starts recording a brand new cache. but bestie β remember to call close() when you've finished recording the cache. don't leave her open, that's not the move. π
See also: close()
π void SoGLCacheList::close (SoGLRenderAction * action)
finishes recording the cache that's currently open. wrap it up, girl. π¬
See also: open()
π void SoGLCacheList::invalidateAll (void )
invalidates all the caches in this instance. and this one's important β it should be called from the notify() method of nodes doing caching. that's the assignment. π«‘
β Author β
this whole page was generated automatically by Doxygen for Coin, straight from the source code. the robots did this one, not me. π€π
okay that's the whole page!! and a little sign-off for you: this lovely thing comes from Coin, Version 3.1.3, and she lives in section 3 of the manual β SoGLCacheList(3), periodt. go forth and cache responsibly. πβ¨π¦π
π¦ 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