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

@@ -5,12 +5,11 @@
#include "opengl/error.hpp"
void zgl::texture_manager::process(
const assets::data_stores& stores
) {
void zgl::texture_manager::process(const store_type& textures)
{
m_texture_buffer.clear();
for (const auto& [ id, texture ] : stores.textures)
for (const auto& [ id, texture ] : textures)
{
if (not m_resource_manager.has_resource(id))
{