This abstract class allows an application to recieve progress updates from the TSLOpenGLDataOptimiser.
◆ ~TSLOpenGLDataOptimiserProgressCallback()
TSLOpenGLDataOptimiserProgressCallback::~TSLOpenGLDataOptimiserProgressCallback |
( |
| ) |
|
|
inlinepure virtual |
◆ progress()
virtual bool TSLOpenGLDataOptimiserProgressCallback::progress |
( |
unsigned int | tilesProcessed, |
|
|
unsigned int | totalTiles, |
|
|
unsigned int | estimatedTimeRemaining ) |
|
pure virtual |
This method will be called each time a progress update is available.
- Parameters
-
tilesProcessed | The number of tiles in the processing operation that have been processed so far. |
totalTiles | The total number of tiles in the processing operation that need to be processed before the operation is complete. |
estimatedTimeRemaining | An estimation of the remaining time that the processing operation will take to complete in seconds. This estimate is based measuring the time taken to process tiles and so may be inaccurate during the early stages of processing. |
Return false to abort processing, or true to continue processing.