This commit is contained in:
ZY4N
2025-03-25 15:57:32 +01:00
parent a78be71e34
commit 70893c083b
24 changed files with 78 additions and 64 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "../../assets/data_stores"
#include "assets/data_stores.hpp"
#include "assets/data_stores/mesh_store.hpp"
#include "opengl/resource_management/resource_manager.hpp"
#include "opengl/handles/index_buffer_handle.hpp"
#include "opengl/metadata/index_buffer_metadata.hpp"
@@ -10,7 +11,7 @@ namespace zgl
class mesh_index_buffer_manager
{
public:
using store_type = dynamic_mesh_store;
using store_type = assets::mesh_store;
using store_id_type = store_type::id_type;
using metadata_type = index_buffer_metadata;
using handle_type = index_buffer_handle;
@@ -19,7 +20,7 @@ public:
static constexpr std::size_t min_garbage_collection_count = 4;
void process(store_type& store);
void process(const assets::data_stores& stores);
std::optional<entry_type> get_handle(store_id_type id);