This commit is contained in:
ZY4N
2025-03-23 21:11:22 +01:00
parent 510398423a
commit c609d49f0d
49 changed files with 1412 additions and 924 deletions

View File

@@ -1,15 +1,16 @@
#pragma once
#include "GL/glew.h"
#include "opengl/resource_management/resource_handle.hpp"
namespace zgl {
struct texture_handle
namespace zgl
{
struct texture_handle : resource_handle
{
inline void bind() const;
inline static void unbind();
GLuint texture_id{ 0 };
};
}
#define INCLUDE_TEXTURE_INSTANCE_IMPLEMENTATION