This commit is contained in:
ZY4N
2025-03-23 21:11:22 +01:00
parent 510398423a
commit c609d49f0d
49 changed files with 1412 additions and 924 deletions

View 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;
};
}