std140 implementation

This commit is contained in:
ZY4N
2025-03-27 19:47:32 +01:00
parent 70893c083b
commit 6f60cc11c8
45 changed files with 789 additions and 234 deletions

View File

@@ -23,15 +23,15 @@ namespace zgl
{
class shader_manager
{
public:
using store_type = shader_source_manager::store_type;
using metadata_type = shader_metadata;
using data_type = shader_data;
using handle_type = shader_handle;
using entry_type = std::pair<metadata_type, data_type>;
using entry_view_type = std::pair<metadata_type, handle_type>;
public:
void process(const assets::data_stores& stores);
void process(const store_type& shader_sources);
void get_handles(
const assets::shader_source_store& shader_sources,