Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soglcachelist(3) [debian man page]

SoGLCacheList(3)						       Coin							  SoGLCacheList(3)

NAME
SoGLCacheList - The SoGLCacheList class is used to store and manage OpenGL caches. SYNOPSIS
#include <include/Inventor/caches/SoGLCacheList.h> Public Member Functions 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 The SoGLCacheList class is used to store and manage OpenGL caches. Constructor &; Destructor Documentation SoGLCacheList::SoGLCacheList (intnumcaches = 2) Constructor. SoGLCacheList::~SoGLCacheList () Destructor. Frees remaining caches. Member Function Documentation SbBool SoGLCacheList::call (SoGLRenderAction *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. void SoGLCacheList::open (SoGLRenderAction *action, SbBoolautocache = TRUE) Start recording a new cache. Remember to call close() when you've finished recording the cache. See also: close() void SoGLCacheList::close (SoGLRenderAction *action) Finish recording the currently open cache. See also: open() void SoGLCacheList::invalidateAll (void) Invalidate all caches in this instance. Should be called from the notify() method of nodes doing caching. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoGLCacheList(3)

Check Out this Related Man Page

SoMaterialBundle(3)						       Coin						       SoMaterialBundle(3)

NAME
SoMaterialBundle - The SoMaterialBundle class simplifies material handling. Every shape node should create (on the stack) an instance of this class and call sendFirst() before sending anything to GL. During rendering, send() should be used to send material values to GL. SYNOPSIS
Inherits SoBundle. Public Member Functions SoMaterialBundle (SoAction *action) ~SoMaterialBundle () void setUpMultiple (void) void sendFirst (void) void forceSend (const int index) SbBool isColorOnly (void) const void send (const int index, const SbBool betweenbeginend) Additional Inherited Members Detailed Description The SoMaterialBundle class simplifies material handling. Every shape node should create (on the stack) an instance of this class and call sendFirst() before sending anything to GL. During rendering, send() should be used to send material values to GL. Constructor &; Destructor Documentation SoMaterialBundle::SoMaterialBundle (SoAction *action) Constructor with action being the action applied to the geometry node. SoMaterialBundle::~SoMaterialBundle () Destructor Member Function Documentation void SoMaterialBundle::setUpMultiple (void) Currently not in use. It is only provided for OIV compliance. void SoMaterialBundle::sendFirst (void) Sends the initial material values to GL. Must be done once in all geometry nodes before the rendering begins. void SoMaterialBundle::forceSend (const intindex) Will send the material to GL even though index equals the current index. Provided for compatibility with the SGI Open Inventor v2.1 API. SbBool SoMaterialBundle::isColorOnly (void) const Returns TRUE if the current light model is BASE_COLOR. void SoMaterialBundle::send (const intindex, const SbBoolbetweenbeginend) Sends material values with index index to GL. Will test whether the current index equals index before sending. betweenBeginEnd should be TRUE if your program is between a glBegin() and glEnd() (it is illegal to change the polygon stipple between a glBegin() and glEnd()). Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoMaterialBundle(3)
Man Page