Public Member Functions | |
| unsigned int | AddLoadRequest (const std::string &file, unsigned int steps=0, const PropertyMap *map=NULL) |
| Add a new file to the list of files to be loaded. | |
| BatchLoader (IOSystem *pIO) | |
| Construct a batch loader from a given IO system to be used to acess external files. | |
| aiScene * | GetImport (unsigned int which) |
| Get an imported scene. | |
| void | LoadAll () |
| Waits until all scenes have been loaded. | |
| ~BatchLoader () | |
The class uses several threads to load these meshes (or at least it could, this has not yet been implemented at the moment).
| Assimp::BatchLoader::BatchLoader | ( | IOSystem * | pIO | ) |
Construct a batch loader from a given IO system to be used to acess external files.
| Assimp::BatchLoader::~BatchLoader | ( | ) |
| unsigned int Assimp::BatchLoader::AddLoadRequest | ( | const std::string & | file, | |
| unsigned int | steps = 0, |
|||
| const PropertyMap * | map = NULL | |||
| ) |
Add a new file to the list of files to be loaded.
| file | File to be loaded | |
| steps | Post-processing steps to be executed on the file | |
| map | Optional configuration properties |
| aiScene* Assimp::BatchLoader::GetImport | ( | unsigned int | which | ) |
Get an imported scene.
This polls the import from the internal request list. If an import is requested several times, this function can be called several times, too.
| which | LRWC returned by AddLoadRequest(). |
| void Assimp::BatchLoader::LoadAll | ( | ) |
Waits until all scenes have been loaded.
This returns immediately if no scenes are queued.
1.5.8