TGUI
0.10-beta
|
Base class for the backend renderer, which is responsible for creating text and texture objects. More...
#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 ()=0 |
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.
|
pure virtual |
Creates a new empty texture object.
Implemented in tgui::BackendRendererGLES2, tgui::BackendRendererOpenGL3, tgui::BackendRendererSDL, and tgui::BackendRendererSFML.
|
pure virtual |
Get the maximum allowed texture size.
This maximum size is defined by the graphics driver. Most likely this will return 8192 or 16384.
Implemented in tgui::BackendRendererGLES2, tgui::BackendRendererOpenGL3, tgui::BackendRendererSDL, and tgui::BackendRendererSFML.