From cb3ddae385c03a8830d39dc37fcd5bf273524d5e Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 10 Oct 2022 16:23:26 +0200 Subject: Try to add second VBO --- src/Texture.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/Texture.hpp (limited to 'src/Texture.hpp') diff --git a/src/Texture.hpp b/src/Texture.hpp new file mode 100644 index 0000000..91b5e54 --- /dev/null +++ b/src/Texture.hpp @@ -0,0 +1,17 @@ +#pragma once + +#include "Image/RawImage.hpp" + +namespace MC { + +class Texture { +public: + Texture(const Image::RawImage& image); + + void bind(); + void unbind(); +private: + uint32_t m_texture; +}; + +} \ No newline at end of file -- cgit 1.4.1