TGUI
0.9-dev
|
Base class for the backend renderer, which is responsible for creating text and texture objects. More...
#include </home/texus/Documents/TGUI-0.9/include/TGUI/Backend/Renderer/BackendRenderer.hpp>
Public Member Functions | |
virtual | ~BackendRenderer ()=default |
Virtual destructor. | |
virtual std::shared_ptr< BackendText > | createText () |
Creates a new empty text object. More... | |
virtual std::shared_ptr< BackendTexture > | createTexture ()=0 |
Creates a new empty texture object. More... | |
virtual unsigned int | getMaximumTextureSize () |
Get the maximum allowed texture size. More... | |
Base class for the backend renderer, which is responsible for creating text and texture objects.
|
inlinevirtual |
Creates a new empty text object.
Reimplemented in tgui::BackendRendererSFML.
|
pure virtual |
Creates a new empty texture object.
Implemented in tgui::BackendRendererGLES2, tgui::BackendRendererOpenGL3, and tgui::BackendRendererSFML.
|
inlinevirtual |
Get the maximum allowed texture size.
This maximum size is defined by the graphics driver. Most likely this will return 8192 or 16384.
Reimplemented in tgui::BackendRendererGLES2, tgui::BackendRendererOpenGL3, and tgui::BackendRendererSFML.