A place to render things (the screen, a texture, ...). More...
#include <gui_rendertarget.hpp>
Public Member Functions | |
render_target () | |
Constructor. | |
virtual | ~render_target () |
Destructor. | |
virtual void | begin ()=0 |
Begins rendering on this target. | |
virtual void | end ()=0 |
Ends rendering on this target. | |
virtual void | clear (const color &mColor)=0 |
Clears the content of this render_target. | |
virtual uint | get_width () const =0 |
Returns this render target's width. | |
virtual uint | get_height () const =0 |
Returns this render target's height. | |
virtual bool | set_dimensions (uint uiWidth, uint uiHeight)=0 |
Sets this render target's dimensions. | |
virtual uint | get_real_width () const =0 |
Returns this render target's real width. | |
virtual uint | get_real_height () const =0 |
Returns this render target's real height. |
A place to render things (the screen, a texture, ...).
Definition at line 13 of file gui_rendertarget.hpp.
gui::render_target::render_target | ( | ) |
Constructor.
Definition at line 5 of file gui_rendertarget.cpp.
gui::render_target::~render_target | ( | ) | [virtual] |
Destructor.
Reimplemented in gui::gl::render_target.
Definition at line 9 of file gui_rendertarget.cpp.
virtual void gui::render_target::begin | ( | ) | [pure virtual] |
Begins rendering on this target.
Implemented in gui::gl::render_target.
virtual void gui::render_target::clear | ( | const color & | mColor | ) | [pure virtual] |
Clears the content of this render_target.
mColor | The color to use as background |
Implemented in gui::gl::render_target.
virtual void gui::render_target::end | ( | ) | [pure virtual] |
Ends rendering on this target.
Implemented in gui::gl::render_target.
virtual uint gui::render_target::get_height | ( | ) | const [pure virtual] |
Returns this render target's height.
Implemented in gui::gl::render_target.
virtual uint gui::render_target::get_real_height | ( | ) | const [pure virtual] |
Returns this render target's real height.
Implemented in gui::gl::render_target.
virtual uint gui::render_target::get_real_width | ( | ) | const [pure virtual] |
Returns this render target's real width.
Implemented in gui::gl::render_target.
virtual uint gui::render_target::get_width | ( | ) | const [pure virtual] |
Returns this render target's width.
Implemented in gui::gl::render_target.
virtual bool gui::render_target::set_dimensions | ( | uint | uiWidth, | |
uint | uiHeight | |||
) | [pure virtual] |
Sets this render target's dimensions.
uiWidth | This render target's width | |
uiHeight | This render target's height |
Implemented in gui::gl::render_target.