MyGUI_IRenderTarget.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_I_RENDER_TARGET_H_
#define MYGUI_I_RENDER_TARGET_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_RenderTargetInfo.h"
#include <stddef.h>
namespace MyGUI
{
class ITexture;
class IVertexBuffer;
class MYGUI_EXPORT IRenderTarget
{
public:
virtual ~IRenderTarget() = default;
virtual void begin() = 0;
virtual void end() = 0;
virtual void doRender(IVertexBuffer* _buffer, ITexture* _texture, size_t _count) = 0;
virtual const RenderTargetInfo& getInfo() const = 0;
};
} // namespace MyGUI
#endif // MYGUI_I_RENDER_TARGET_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MyGUI_RenderTargetInfo.h
MyGUI::IRenderTarget
Definition MyGUI_IRenderTarget.h:21
MyGUI::IRenderTarget::begin
virtual void begin()=0
MyGUI::IRenderTarget::getInfo
virtual const RenderTargetInfo & getInfo() const =0
MyGUI::IRenderTarget::~IRenderTarget
virtual ~IRenderTarget()=default
MyGUI::IRenderTarget::end
virtual void end()=0
MyGUI::IRenderTarget::doRender
virtual void doRender(IVertexBuffer *_buffer, ITexture *_texture, size_t _count)=0
MyGUI::ITexture
Definition MyGUI_ITexture.h:28
MyGUI::IVertexBuffer
Definition MyGUI_IVertexBuffer.h:17
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::RenderTargetInfo
Definition MyGUI_RenderTargetInfo.h:16