mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 14:07:08 +03:00
23 lines
294 B
C++
23 lines
294 B
C++
![]() |
#pragma once
|
||
|
|
||
|
#include "Object.hpp"
|
||
|
#include "gl_core_3_3.h"
|
||
|
|
||
|
namespace glrage {
|
||
|
namespace gl {
|
||
|
|
||
|
class Texture : public Object
|
||
|
{
|
||
|
public:
|
||
|
Texture(GLenum target);
|
||
|
~Texture();
|
||
|
void bind();
|
||
|
GLenum target();
|
||
|
|
||
|
private:
|
||
|
GLenum m_target;
|
||
|
};
|
||
|
|
||
|
} // namespace gl
|
||
|
} // namespace glrage
|