Files
Z3D/include/opengl/handles/mesh_handle.hpp
2024-12-10 13:50:21 +01:00

20 lines
339 B
C++
Executable File

#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