From 6ed978051668c08f5a957c97570f364dd580c807 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 21 Oct 2022 01:03:18 +0200 Subject: Namespace and Folder refactor --- src/GFX/Texture.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/GFX/Texture.hpp (limited to 'src/GFX/Texture.hpp') diff --git a/src/GFX/Texture.hpp b/src/GFX/Texture.hpp new file mode 100644 index 0000000..ff86634 --- /dev/null +++ b/src/GFX/Texture.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "Image/RawImage.hpp" + +namespace MC::GFX { + +class Texture { +public: + explicit Texture(const Image::RawImage& image); + + void bind(); + void unbind(); +private: + uint32_t m_texture; +}; + +} \ No newline at end of file -- cgit 1.4.1