mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-16 12:42:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
22
src/gx/gll/GLObject.h
Normal file
22
src/gx/gll/GLObject.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef GX_GLL_GL_OBJECT_H
|
||||
#define GX_GLL_GL_OBJECT_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class GLObject {
|
||||
public:
|
||||
// Member variables
|
||||
GLObject* m_Next;
|
||||
uint32_t m_RefCount;
|
||||
int64_t m_TimeStamp;
|
||||
|
||||
// Virtual member functions
|
||||
virtual void ReleaseObject() = 0;
|
||||
virtual void AddRefTwin();
|
||||
virtual void ReleaseTwin();
|
||||
|
||||
// Member functions
|
||||
uint32_t Release();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue