Abstract class for monitoring the rendering of tiles (sub-images). More...
#include <Inventor/SoOffscreenRenderer.h>
Public Member Functions | |
virtual | ~SoOffscreenTileObserver () |
virtual SoOffscreenRenderer::AbortCode | tileUpdated (SoOffscreenRenderer *offscreen, SoOffscreenTileProperty *tileProperty, int numTiles)=0 |
This abstract class is used for creating specific code that will be called by the class SoOffscreenRenderer when it generates a tile. SoOffscreenTileObserver will be given information about the current tile at each call by SoOffscreenRenderer. The application must define and instantiate a class derived from this class.
SoOffscreenRenderer, SoOffscreenTileProperty
virtual SoOffscreenTileObserver::~SoOffscreenTileObserver | ( | ) | [inline, virtual] |
virtual SoOffscreenRenderer::AbortCode SoOffscreenTileObserver::tileUpdated | ( | SoOffscreenRenderer * | offscreen, | |
SoOffscreenTileProperty * | tileProperty, | |||
int | numTiles | |||
) | [pure virtual] |
Called as soon as a tile has been generated.
numTiles is the total number of tiles that will be rendered. Must return an AbortCode value to indicate whether rendering should continue or not.