SoGLRenderCache - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 4.0.0
Note : Coin

NAMESoGLRenderCache − The SoGLRenderCache class is used to cache OpenGL calls​.

SYNOPSIS
#include <Inventor/caches/SoGLRenderCache​.h> Inherits SoCache​.

Public Member FunctionsSoGLRenderCache (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)

Protected Member Functionsvirtual void destroy (SoState *state)

Detailed DescriptionThe SoGLRenderCache class is used to cache OpenGL calls​.

Constructor & Destructor Documentation

SoGLRenderCache::SoGLRenderCache (SoState * state)Constructor with state being the current state​.

SoGLRenderCache::~SoGLRenderCache () [virtual]Destructor​.

Member Function Documentation

void SoGLRenderCache::open (SoState * state)Opens the cache​. All GL calls will be cached until close() is called​. See also close() call()

void SoGLRenderCache::close (void)Closes the cache​. Should be called after all GL calls​. See also open()

void SoGLRenderCache::call (SoState * state)Executes the cached display list​. See also open()

int SoGLRenderCache::getCacheContext (void) constReturns 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​.

SbBool SoGLRenderCache::isValid (const SoState * state) const [virtual]Return TRUE if this cache is valid, FALSE otherwise​. 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​.

void SoGLRenderCache::destroy (SoState * state) [protected], [virtual]Can be overridden by subclasses to clean up before they are deleted​. Default method does nothing​. Reimplemented from SoCache​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   15,849 byte
man-SoGLRenderCache.3coin4Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 261,741
Visitor ID   :     :  
Visitor IP   :   3.148.115.187   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.