...
This commit is contained in:
20
include/opengl/resource_management/reference_counter.hpp
Normal file
20
include/opengl/resource_management/reference_counter.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "GL/glew.h"
|
||||
|
||||
namespace zgl
|
||||
{
|
||||
|
||||
class reference_counter
|
||||
{
|
||||
public:
|
||||
using gl_id_type = GLuint;
|
||||
|
||||
virtual void add_reference(gl_id_type id) = 0;
|
||||
|
||||
virtual void remove_reference(gl_id_type id) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user