SoGLCacheList(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

✨ 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