A class that holds rendering data. More...
#include <gui_material.hpp>
Public Member Functions | |
material () | |
Constructor. | |
virtual | ~material () |
Destructor. | |
virtual float | get_width () const =0 |
Returns the width of the underlying texture (if any). | |
virtual float | get_height () const =0 |
Returns the height of the underlying texture (if any). | |
virtual float | get_real_width () const =0 |
Returns the physical width of the underlying texture (if any). | |
virtual float | get_real_height () const =0 |
Returns the physical height of the underlying texture (if any). |
A class that holds rendering data.
This is an abstract class that must be implemented and created by the corresponding gui::manager_impl.
Definition at line 14 of file gui_material.hpp.
gui::material::material | ( | ) |
Constructor.
Definition at line 5 of file gui_material.cpp.
gui::material::~material | ( | ) | [virtual] |
virtual float gui::material::get_height | ( | ) | const [pure virtual] |
Returns the height of the underlying texture (if any).
Implemented in gui::gl::material.
virtual float gui::material::get_real_height | ( | ) | const [pure virtual] |
Returns the physical height of the underlying texture (if any).
Implemented in gui::gl::material.
virtual float gui::material::get_real_width | ( | ) | const [pure virtual] |
Returns the physical width of the underlying texture (if any).
Implemented in gui::gl::material.
virtual float gui::material::get_width | ( | ) | const [pure virtual] |
Returns the width of the underlying texture (if any).
Implemented in gui::gl::material.