diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-02-15 01:36:41 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-18 15:22:10 +0100 |
commit | e4d073947d09634e95325ddaf8f1615f85e85901 (patch) | |
tree | 1bfa96dd7692f0d1c0029b3ba9a82e4ba719eb71 /include/RenderBackend/OpenGL/Image.hpp | |
parent | b366f3d0c573468ecd0b59da43dfcbc847334b19 (diff) |
Load texture in obj model loader.. broken
Diffstat (limited to 'include/RenderBackend/OpenGL/Image.hpp')
-rw-r--r-- | include/RenderBackend/OpenGL/Image.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/RenderBackend/OpenGL/Image.hpp b/include/RenderBackend/OpenGL/Image.hpp deleted file mode 100644 index 06f0630..0000000 --- a/include/RenderBackend/OpenGL/Image.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#pragma once - -#include "../../utils.hpp" -#include "../../types.hpp" -#include "../../Result.hpp" - -namespace amalgine -{ - class Image - { - DISABLE_COPY(Image) - public: - static Result<Image*> loadFromFile(const char *filepath); - ~Image(); - - const unsigned char* getData() const; - i32 getWidth() const; - i32 getHeight() const; - private: - Image(unsigned char *_imageData, i32 width, i32 height); - private: - unsigned char *imageData; - i32 width; - i32 height; - }; -} |