Typedefs | |
using | PostLoadCallback = std::function<void ( Expected<std::vector<ObjectPtr>> )> |
using | AsyncObjectLoader = void( * )( const std::filesystem::path&, std::string*, PostLoadCallback, ProgressCallback ) |
Functions | |
MRMESH_API AsyncObjectLoader | getObjectLoader (IOFilter filter) |
Find an appropriate loader from the registry. | |
MRMESH_API void | setObjectLoader (IOFilter filter, AsyncObjectLoader loader) |
Add or override a loader in the registry. | |
MRMESH_API IOFilters | getFilters () |
Get all registered filters. | |
using MR::AsyncObjectLoad::AsyncObjectLoader = void( * )( const std::filesystem::path&, std::string*, PostLoadCallback, ProgressCallback ) |
using MR::AsyncObjectLoad::PostLoadCallback = std::function<void ( Expected<std::vector<ObjectPtr>> )> |
MRMESH_API IOFilters MR::AsyncObjectLoad::getFilters | ( | ) |
Get all registered filters.
MRMESH_API AsyncObjectLoader MR::AsyncObjectLoad::getObjectLoader | ( | IOFilter | filter | ) |
Find an appropriate loader from the registry.
MRMESH_API void MR::AsyncObjectLoad::setObjectLoader | ( | IOFilter | filter, |
AsyncObjectLoader | loader ) |
Add or override a loader in the registry.