|
BRE12
|
CPP-API: Abstract interface for custom progress report receivers. More...
#include <ProgressHandler.hpp>
Public Member Functions | |
| virtual | ~ProgressHandler () |
| Virtual destructor. | |
| virtual bool | Update (float percentage=-1.f)=0 |
| Progress callback. More... | |
Protected Member Functions | |
| ProgressHandler () | |
| Default constructor. | |
CPP-API: Abstract interface for custom progress report receivers.
Each #Importer instance maintains its own ProgressHandler. The default implementation provided by Assimp doesn't do anything at all.
|
pure virtual |
Progress callback.
| percentage | An estimate of the current loading progress, in percent. Or -1.f if such an estimate is not available. |
There are restriction on what you may do from within your implementation of this method: no exceptions may be thrown and no non-const #Importer methods may be called. It is not generally possible to predict the number of callbacks fired during a single import.
1.8.12