summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/CanvasRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Engine/Graphics/CanvasRenderer.h')
-rw-r--r--Source/Asura.Engine/Graphics/CanvasRenderer.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/Asura.Engine/Graphics/CanvasRenderer.h b/Source/Asura.Engine/Graphics/CanvasRenderer.h
new file mode 100644
index 0000000..ef188a5
--- /dev/null
+++ b/Source/Asura.Engine/Graphics/CanvasRenderer.h
@@ -0,0 +1,30 @@
+#ifndef __AE_CANVAS_RENDERER_H__
+#define __AE_CANVAS_RENDERER_H__
+
+#include "Canvas.h"
+#include "Renderer.h"
+
+namespace AsuraEngine
+{
+ namespace Graphics
+ {
+
+ class CanvasRenderer : public Renderer
+ {
+ public:
+
+ void SetCanvas(Canvas* canvas);
+ Canvas* GetCanvas();
+
+ void SetBlendMode();
+
+ private:
+
+ Canvas * mCanvas;
+
+ };
+
+ }
+}
+
+#endif \ No newline at end of file