mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 05:57:10 +03:00
23 lines
278 B
C++
23 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
|