25#ifndef TGUI_BACKEND_RENDERER_HPP
26#define TGUI_BACKEND_RENDERER_HPP
28#include <TGUI/Backend/Renderer/BackendText.hpp>
29#include <TGUI/Backend/Renderer/BackendTexture.hpp>
52 [[nodiscard]]
virtual std::shared_ptr<BackendText>
createText()
54 return std::make_shared<BackendText>();
61 [[nodiscard]]
virtual std::shared_ptr<BackendTexture>
createTexture() = 0;
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition BackendRenderer.hpp:41
virtual ~BackendRenderer()=default
Virtual destructor.
virtual std::shared_ptr< BackendTexture > createTexture()=0
Creates a new empty texture object.
virtual std::shared_ptr< BackendText > createText()
Creates a new empty text object.
Definition BackendRenderer.hpp:52
virtual unsigned int getMaximumTextureSize()=0
Get the maximum allowed texture size.
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:37