tried making naming more uniform and implemented most of the opengl managers

This commit is contained in:
ZY4N
2025-03-25 02:22:44 +01:00
parent c609d49f0d
commit 71ea2d9237
155 changed files with 4097 additions and 2434 deletions

View File

@@ -0,0 +1,40 @@
#include "assets/data_loaders/point_cloud_loader.hpp"
std::error_code assets::point_cloud_loader::prefetch(
const 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 assets::point_cloud_loader::load(
const loader_id_type loader_id,
const ztu::string_list& directories,
point_cloud_store& store,
point_cloud_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
);
}
);
}