MyGUI
3.4.1
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
MyGUIEngine
include
MyGUI_IRenderTarget.h
Go to the documentation of this file.
1
/*
2
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
3
* Distributed under the MIT License
4
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5
*/
6
7
#ifndef MYGUI_I_RENDER_TARGET_H_
8
#define MYGUI_I_RENDER_TARGET_H_
9
10
#include "
MyGUI_Prerequest.h
"
11
#include "
MyGUI_RenderTargetInfo.h
"
12
#include <stddef.h>
13
14
namespace
MyGUI
15
{
16
17
class
ITexture;
18
class
IVertexBuffer;
19
20
class
MYGUI_EXPORT
IRenderTarget
21
{
22
public
:
23
virtual
~IRenderTarget
() { }
24
25
virtual
void
begin
() = 0;
26
virtual
void
end
() = 0;
27
28
virtual
void
doRender
(
IVertexBuffer
* _buffer,
ITexture
* _texture,
size_t
_count) = 0;
29
30
virtual
const
RenderTargetInfo
&
getInfo
()
const
= 0;
31
};
32
33
}
// namespace MyGUI
34
35
#endif
// MYGUI_I_RENDER_TARGET_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition:
MyGUI_Platform.h:89
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::end
virtual void end()=0
MyGUI::IRenderTarget::~IRenderTarget
virtual ~IRenderTarget()
Definition:
MyGUI_IRenderTarget.h:23
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
Generated by
1.9.4