mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 14:07:08 +03:00
24 lines
278 B
C++
24 lines
278 B
C++
![]() |
#pragma once
|
||
|
|
||
|
#include "gl_core_3_3.h"
|
||
|
|
||
|
namespace glrage {
|
||
|
namespace gl {
|
||
|
|
||
|
class Object
|
||
|
{
|
||
|
public:
|
||
|
virtual ~Object(){};
|
||
|
GLuint id()
|
||
|
{
|
||
|
return m_id;
|
||
|
}
|
||
|
virtual void bind() = 0;
|
||
|
|
||
|
protected:
|
||
|
GLuint m_id = 0;
|
||
|
};
|
||
|
|
||
|
} // namespace gl
|
||
|
} // namespace glrage
|