aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/render/canvas.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-28 10:39:31 +0800
committerchai <chaifix@163.com>2018-07-28 10:39:31 +0800
commit589ee7ee7014a5f8918e1d99c0e04bff4f7a83cb (patch)
tree8d377c830bcc68afd24b02f97a0811d3d4c50598 /src/libjin/render/canvas.h
parent654a75401775d74f95f3d98611e333bb5641ee9b (diff)
*update
Diffstat (limited to 'src/libjin/render/canvas.h')
-rw-r--r--src/libjin/render/canvas.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/libjin/render/canvas.h b/src/libjin/render/canvas.h
deleted file mode 100644
index 9afa42d..0000000
--- a/src/libjin/render/canvas.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef __JIN_CANVAS_H
-#define __JIN_CANVAS_H
-#include "../modules.h"
-#if JIN_MODULES_RENDER
-
-#include "drawable.h"
-namespace jin
-{
-namespace render
-{
- class Canvas: public Drawable
- {
- public:
-
- static Canvas* createCanvas(int w, int h);
-
- ~Canvas();
-
- void bind();
-
- static void unbind();
-
- static bool hasbind(GLint fbo);
-
- private:
-
- Canvas(int w, int h);
-
- GLuint fbo;
-
- // current binded fbo
- static GLint cur;
-
- bool init();
- };
-} // render
-} // jin
-
-#endif // JIN_MODULES_RENDER
-#endif // __JIN_CANVAS_H \ No newline at end of file