TGUI
1.6.1
|
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. | |
virtual std::shared_ptr< BackendTexture > | createTexture ()=0 |
Creates a new empty texture object. | |
virtual unsigned int | getMaximumTextureSize ()=0 |
Get the maximum allowed texture size. | |
Base class for the backend renderer, which is responsible for creating text and texture objects.
|
inlinenodiscardvirtual |
Creates a new empty text object.
|
nodiscardpure virtual |
Creates a new empty texture object.
Implemented in tgui::BackendRendererGLES2, tgui::BackendRendererOpenGL3, tgui::BackendRendererRaylib, tgui::BackendRendererSDL, and tgui::BackendRendererSFML.
|
nodiscardpure 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::BackendRendererRaylib, tgui::BackendRendererSDL, and tgui::BackendRendererSFML.