summaryrefslogtreecommitdiff
path: root/Source/modules/asura-core/Graphics/RenderTarget.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-16 08:54:08 +0800
committerchai <chaifix@163.com>2019-08-16 08:54:08 +0800
commita077eb38b01292611f4f6031b75e3e2c1c20f06e (patch)
tree8f760483d7b0290952bbdb5bcd8f3943102aeb3a /Source/modules/asura-core/Graphics/RenderTarget.h
parent6a065c913e9308cc72e1ad0723b6167048f439b6 (diff)
Diffstat (limited to 'Source/modules/asura-core/Graphics/RenderTarget.h')
-rw-r--r--Source/modules/asura-core/Graphics/RenderTarget.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/Source/modules/asura-core/Graphics/RenderTarget.h b/Source/modules/asura-core/Graphics/RenderTarget.h
deleted file mode 100644
index ab09e35..0000000
--- a/Source/modules/asura-core/Graphics/RenderTarget.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef _ASURA_ENGINE_RENDERTARGET_H_
-#define _ASURA_ENGINE_RENDERTARGET_H_
-
-#include <asura-base/Math/Vector2.hpp>
-#include <asura-base/Math/Rect.hpp>
-#include <asura-base/Scripting/Scripting.h>
-
-#include "Texture.h"
-#include "Color.h"
-
-namespace_begin(AsuraEngine)
-namespace_begin(Graphics)
-
-///
-/// ɱΪȾĿ࣬
-/// Canvas(RenderTexture)
-/// Window(RenderWindow)
-///
-class RenderTarget : public AEScripting::Object
-{
-public:
-
- RenderTarget() {};
-
- virtual ~RenderTarget() {};
-
- ///
- /// ɫcolRT
- ///
- virtual void Clear(const Color& col = Color::Black) = 0;
-
- ///
- /// ɫcolղRT
- ///
- virtual void Clear(const Math::Recti& quad, const Color& col = Color::Black) = 0;
-
- ///
- /// textureRT
- ///
- virtual void Draw(const Drawable* texture, const RenderState& state) = 0;
-
- ///
- /// һtextureRT
- ///
- virtual void Draw(const Drawable* texture, const Math::Recti& quad, const RenderState& state) = 0;
-
-};
-
-namespace_end
-namespace_end
-
-#endif \ No newline at end of file