initial commit
This commit is contained in:
20
include/opengl/handles/mesh_handle.hpp
Executable file
20
include/opengl/handles/mesh_handle.hpp
Executable file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user