MyGUI
3.2.1
|
00001 /* 00002 * This source file is part of MyGUI. For the latest info, see http://mygui.info/ 00003 * Distributed under the MIT License 00004 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT) 00005 */ 00006 00007 #ifndef __MYGUI_I_RENDER_TARGET_H__ 00008 #define __MYGUI_I_RENDER_TARGET_H__ 00009 00010 #include "MyGUI_Prerequest.h" 00011 #include "MyGUI_RenderTargetInfo.h" 00012 #include <stddef.h> 00013 00014 namespace MyGUI 00015 { 00016 00017 class ITexture; 00018 class IVertexBuffer; 00019 00020 class MYGUI_EXPORT IRenderTarget 00021 { 00022 public: 00023 IRenderTarget() { } 00024 virtual ~IRenderTarget() { } 00025 00026 virtual void begin() = 0; 00027 virtual void end() = 0; 00028 00029 virtual void doRender(IVertexBuffer* _buffer, ITexture* _texture, size_t _count) = 0; 00030 00031 virtual const RenderTargetInfo& getInfo() = 0; 00032 }; 00033 00034 } // namespace MyGUI 00035 00036 #endif // __MYGUI_I_RENDER_TARGET_H__