aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Texture.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-18 21:15:37 +0800
committerchai <chaifix@163.com>2018-10-18 21:15:37 +0800
commit02dd1f38008594048f0e28bad01e7c6d18844198 (patch)
tree4d937745e350788b6bba0d26450cb5526f1accab /src/libjin/Graphics/Texture.h
parent392c4e7c42c000d82e641a3d04f0d2a01f0aca21 (diff)
*注释
Diffstat (limited to 'src/libjin/Graphics/Texture.h')
-rw-r--r--src/libjin/Graphics/Texture.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/libjin/Graphics/Texture.h b/src/libjin/Graphics/Texture.h
index 45f3f34..3e0161c 100644
--- a/src/libjin/Graphics/Texture.h
+++ b/src/libjin/Graphics/Texture.h
@@ -1,7 +1,7 @@
#ifndef __LIBJIN_TEXTURE_H
#define __LIBJIN_TEXTURE_H
#include "../configuration.h"
-#if LIBJIN_MODULES_RENDER
+#if defined(jin_graphics)
#include "../3rdparty/GLee/GLee.h"
#include "Color.h"
@@ -11,15 +11,26 @@ namespace jin
{
namespace graphics
{
-
+ ///
+ ///
+ ///
class Texture: public Drawable
{
public:
+ ///
+ ///
+ ///
static Texture* createTexture(Bitmap* bitmap);
+ ///
+ ///
+ ///
~Texture();
private:
+ ///
+ ///
+ ///
Texture(const Bitmap* bitmap);
};
@@ -27,5 +38,6 @@ namespace jin
} // namespace graphics
} // namespace jin
-#endif // LIBJIN_MODULES_RENDER
+#endif // jin_graphics
+
#endif // __LIBJIN_TEXTURE_H \ No newline at end of file