#pragma once #include "GL/glew.h" #include "util/uix.hpp" namespace zgl { struct mesh_handle { inline void bind() const; inline static void unbind(); GLuint vao_id{ 0 }; GLsizei index_count{ 0 }; }; } #define INCLUDE_MESH_INSTANCE_IMPLEMENTATION #include "opengl/handles/mesh_handle.ipp" #undef INCLUDE_MESH_INSTANCE_IMPLEMENTATION