25#ifndef TGUI_BACKEND_RENDERER_SDL_HPP
26#define TGUI_BACKEND_RENDERER_SDL_HPP
28#include <TGUI/Backend/Renderer/SDL_Renderer/BackendTextureSDL.hpp>
29#include <TGUI/Backend/Renderer/SDL_Renderer/BackendRenderTargetSDL.hpp>
30#include <TGUI/Backend/Renderer/SDL_Renderer/CanvasSDL.hpp>
32#if !TGUI_BUILD_AS_CXX_MODULE
33 #include <TGUI/Backend/Renderer/BackendRenderer.hpp>
36#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
42#if !TGUI_BUILD_AS_CXX_MODULE
46TGUI_MODULE_EXPORT
namespace tgui
66 TGUI_NODISCARD std::shared_ptr<BackendTexture>
createTexture()
override;
87 SDL_Renderer* m_renderer =
nullptr;
88 unsigned int m_maxTextureSize = 0;
Backend renderer that uses SDL_Renderer.
Definition BackendRendererSDL.hpp:52
TGUI_NODISCARD std::shared_ptr< BackendTexture > createTexture() override
Creates a new empty texture object.
TGUI_NODISCARD unsigned int getMaximumTextureSize() override
Get the maximum allowed texture size.
TGUI_NODISCARD SDL_Renderer * getInternalRenderer() const
Returns a pointer to the SDL_Renderer object that was used to create this backend renderer.
BackendRendererSDL(SDL_Renderer *renderer)
Initializes the backend renderer.
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition BackendRenderer.hpp:44
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38