...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user