#include "assets/dynamic_data_loaders/dynamic_mesh_loader.hpp" std::error_code dynamic_mesh_loader::prefetch( loader_id_type loader_id, const ztu::string_list& directories, prefetch_queue& queue ) { return this->invoke_with_matching_loader( loader_id, [&](auto& loader) { return loader.prefetch( directories, queue ); } ); } std::error_code dynamic_mesh_loader::load( loader_id_type loader_id, const ztu::string_list& directories, dynamic_mesh_store& store, mesh_prefetch_lookup& id_lookup, const bool pedantic ) { return this->invoke_with_matching_loader( loader_id, [&](auto& loader) { return loader.load( m_buffer, directories, store, id_lookup, pedantic ); } ); }