Classes | |
| struct | Result |
| Scene loading result. More... | |
| struct | Settings |
Typedefs | |
| using | SceneLoader = Expected<LoadedObject>( * )( const std::filesystem::path&, const ProgressCallback& ) |
| using | PostLoadCallback = std::function<void ( Result )> |
Functions | |
| Result | fromAnySupportedFormat (const std::vector< std::filesystem::path > &files, const Settings &settings={}) |
| void | asyncFromAnySupportedFormat (const std::vector< std::filesystem::path > &files, const PostLoadCallback &postLoadCallback, const Settings &settings={}) |
| using MR::SceneLoad::PostLoadCallback = std::function<void ( Result )> |
Async load scene from file; calls postLoadCallback from a working thread (or from the main thread on single-thread platforms) after all files being loaded
| using MR::SceneLoad::SceneLoader = Expected<LoadedObject>( * )( const std::filesystem::path&, const ProgressCallback& ) |
| void MR::SceneLoad::asyncFromAnySupportedFormat | ( | const std::vector< std::filesystem::path > & | files, |
| const PostLoadCallback & | postLoadCallback, | ||
| const Settings & | settings = {} ) |