25#ifndef TGUI_BACKEND_RENDERER_SDL_GPU_HPP
26#define TGUI_BACKEND_RENDERER_SDL_GPU_HPP
28#include <TGUI/Backend/Renderer/SDL_GPU/BackendTextureSDLGPU.hpp>
29#include <TGUI/Backend/Renderer/SDL_GPU/BackendRenderTargetSDLGPU.hpp>
30#include <TGUI/Backend/Renderer/SDL_GPU/CanvasSDLGPU.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_GPUDevice* m_device =
nullptr;
std::shared_ptr< BackendTexture > createTexture() override
Creates a new empty texture object.
unsigned int getMaximumTextureSize() override
Get the maximum allowed texture size.
SDL_GPUDevice * getInternalDevice() const
Returns a pointer to the device object that was used to create this backend renderer.
BackendRendererSDLGPU(SDL_GPUDevice *device)
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