From 3f457498b9c39d40a16a0ec6328880854f8cf4de Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 26 Feb 2019 08:48:54 +0800 Subject: *misc --- Source/Asura.Engine/Graphics/RenderTarget.h | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Source/Asura.Engine/Graphics/RenderTarget.h (limited to 'Source/Asura.Engine/Graphics/RenderTarget.h') diff --git a/Source/Asura.Engine/Graphics/RenderTarget.h b/Source/Asura.Engine/Graphics/RenderTarget.h new file mode 100644 index 0000000..05d7068 --- /dev/null +++ b/Source/Asura.Engine/Graphics/RenderTarget.h @@ -0,0 +1,30 @@ +#ifndef __ASURA_ENGINE_RENDERTARGET_H__ +#define __ASURA_ENGINE_RENDERTARGET_H__ + +#include "Texture.h" +#include "Object.h" + +namespace AsuraEngine +{ + namespace Graphics + { + + /// + /// 可被作为渲染目标的类,派生类有 + /// Canvas(RenderTexture) + /// Window(RenderWindow) + /// + class RenderTarget : virtual public Object + { + public: + + RenderTarget() {}; + + virtual ~RenderTarget() {}; + + }; + + } +} + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0