diff options
author | chai <chaifix@163.com> | 2018-10-23 12:23:58 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-23 12:23:58 +0800 |
commit | 40fc27154fe754181934dc7ee31375e6bdfb33fc (patch) | |
tree | 897ad98d759bc308ef66561181ba88b85f2ccd47 /src/libjin/Graphics/Texture.h | |
parent | 1480c9445100075c9e1a894eb07c0ef727b509a1 (diff) |
*merge from minimal
Diffstat (limited to 'src/libjin/Graphics/Texture.h')
-rw-r--r-- | src/libjin/Graphics/Texture.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/libjin/Graphics/Texture.h b/src/libjin/Graphics/Texture.h deleted file mode 100644 index 1fdb50d..0000000 --- a/src/libjin/Graphics/Texture.h +++ /dev/null @@ -1,42 +0,0 @@ -#ifndef __JIN_IMAGE_H -#define __JIN_IMAGE_H -#include "../modules.h" -#if JIN_MODULES_RENDER - -#include "../3rdparty/GLee/GLee.h" -#include "color.h" -#include "drawable.h" -namespace jin -{ -namespace graphics -{ - - class Texture: public Drawable - { - - public: - - static Texture* createTexture(const char* file); - static Texture* createTexture(const void* mem, size_t size); - - static void destroyTexture(Texture* tex); - - ~Texture(); - - color getPixel(int x, int y); - - private: - - Texture(); - - bool loadb(const void* buffer, size_t size); - - color* pixels; - - }; - -} -} - -#endif // JIN_MODULES_RENDER -#endif // __JIN_IMAGE_H
\ No newline at end of file |