.TH "SoGLCacheList" 3 "Fri Sep 6 2024 15:32:06" "Version 4.0.3" "Coin" \" -*- nroff -*- .ad l .nh .SH NAME SoGLCacheList \- The \fBSoGLCacheList\fP class is used to store and manage OpenGL caches\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBSoGLCacheList\fP (int numcaches=2)" .br .ti -1c .RI "\fB~SoGLCacheList\fP ()" .br .ti -1c .RI "SbBool \fBcall\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "void \fBopen\fP (\fBSoGLRenderAction\fP *action, SbBool autocache=TRUE)" .br .ti -1c .RI "void \fBclose\fP (\fBSoGLRenderAction\fP *action)" .br .ti -1c .RI "void \fBinvalidateAll\fP (void)" .br .in -1c .SH "Detailed Description" .PP The \fBSoGLCacheList\fP class is used to store and manage OpenGL caches\&. .SH "Constructor & Destructor Documentation" .PP .SS "SoGLCacheList::SoGLCacheList (int numcaches = \fR2\fP)" Constructor\&. .SS "SoGLCacheList::~SoGLCacheList ()" Destructor\&. Frees remaining caches\&. .SH "Member Function Documentation" .PP .SS "SbBool SoGLCacheList::call (\fBSoGLRenderAction\fP * action)" Test for valid cache and execute\&. Returns TRUE if a valid cache could be found, FALSE otherwise\&. Note that when a valid cache is found, it is executed before returning from this method\&. .SS "void SoGLCacheList::open (\fBSoGLRenderAction\fP * action, SbBool autocache = \fRTRUE\fP)" Start recording a new cache\&. Remember to call \fBclose()\fP when you've finished recording the cache\&. .PP \fBSee also\fP .RS 4 \fBclose()\fP .RE .PP .SS "void SoGLCacheList::close (\fBSoGLRenderAction\fP * action)" Finish recording the currently open cache\&. .PP \fBSee also\fP .RS 4 \fBopen()\fP .RE .PP .SS "void SoGLCacheList::invalidateAll (void )" Invalidate all caches in this instance\&. Should be called from the notify() method of nodes doing caching\&. .SH "Author" .PP Generated automatically by Doxygen for Coin from the source code\&.