SoGLCacheList(3)
β¨ SoGLCacheList β¨
ok so bestie, welcome to the SoGLCacheList(3) page π this one's a Coin class, and honestly? it's giving backstage crew for your OpenGL caches. She doesn't do the glamorous rendering herself β she stores and manages your OpenGL caches, which is lowkey the most important job. no cap.
πΈ NAME πΈ
SoGLCacheList β the class that stores and manages OpenGL caches. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
first things first, you gotta let her in:
#include <Inventor/caches/SoGLCacheList.h>
π Public Member Functions π
here's the whole squad, no gatekeeping:
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 π
ok so real talk: the SoGLCacheList class is used to store and manage OpenGL caches. that's the whole assignment, and she ate. π₯
π Constructor & Destructor Documentation π
SoGLCacheList::SoGLCacheList (int numcaches = 2)
the constructor, aka her origin story β¨ note the numcaches = 2 default β she comes preloaded with room for two, but you can absolutely pass your own number if you're feeling extra.
SoGLCacheList::~SoGLCacheList ()
the destructor π₯Ί and yes, she's thorough β she frees remaining caches on her way out. no leftover mess, no loose ends. main character exit.
π Member Function Documentation π
SbBool SoGLCacheList::call (SoGLRenderAction * action)
test for a valid cache and execute it π
returns TRUE if a valid cache could be found, FALSE otherwise.
heads up bestie: when a valid cache is found, it gets executed before returning from this method. so like, the side effect happens on the way out, don't forget that. π
void SoGLCacheList::open (SoGLRenderAction * action, SbBool autocache = TRUE)
start recording a new cache π₯ you're rolling, girl.
remember to call close() when you've finished recording the cache β don't leave her hanging mid-take. π
See also: close()
void SoGLCacheList::close (SoGLRenderAction * action)
finish recording the currently open cache π¬ that's a wrap, periodt.
See also: open()
void SoGLCacheList::invalidateAll (void )
invalidate all the caches in this instance π₯ every last one. she's not picking favorites.
should be called from the notify() method of nodes doing caching β that's the correct spot, iykyk.
β Author β
generated automatically by Doxygen for Coin from the source code π€ (yes bestie, the robots wrote the credits, we just gave them a glow-up)
and that's the page!! π this was SoGLCacheList(3) from Coin, version 4.0.10, dated Thu Jun 25 2026 00:00:00 β thanks for reading, ily, go forth and cache responsibly π«Άβ¨
π¦ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms