aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_canvas.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-14 14:55:42 +0800
committerchai <chaifix@163.com>2018-12-14 14:55:42 +0800
commit870fcdae66edc680cac55defb149e1434e865f37 (patch)
treebb0b45627b98ec4c782466b3bb57daf63c44e460 /src/libjin/graphics/je_canvas.h
parenteb8ca083c9be574acd27cf0de41d1f69146cad7a (diff)
*格式化代码
Diffstat (limited to 'src/libjin/graphics/je_canvas.h')
-rw-r--r--src/libjin/graphics/je_canvas.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libjin/graphics/je_canvas.h b/src/libjin/graphics/je_canvas.h
index 277e39d..b65e598 100644
--- a/src/libjin/graphics/je_canvas.h
+++ b/src/libjin/graphics/je_canvas.h
@@ -7,20 +7,20 @@
namespace JinEngine
{
- namespace Graphics
- {
+ namespace Graphics
+ {
///
/// Renderable canvas.
///
/// A canvas is a rendering target.
///
- class Canvas : public Graphic
- {
- public:
+ class Canvas : public Graphic
+ {
+ public:
///
///
///
- static bool isBinded(const Canvas*);
+ static bool isBinded(const Canvas*);
///
///
@@ -35,17 +35,17 @@ namespace JinEngine
///
///
///
- ~Canvas();
+ ~Canvas();
inline GLuint getGLFrameBuffer() const { return fbo; };
- protected:
+ protected:
- GLuint fbo;
+ GLuint fbo;
- };
+ };
- } // namespace Graphics
+ } // namespace Graphics
} // namespace JinEngine
#endif // defined(jin_graphics)