25#ifndef TGUI_TEXTURE_DATA_HPP
26#define TGUI_TEXTURE_DATA_HPP
30#include <TGUI/Rect.hpp>
31#include <TGUI/Optional.hpp>
32#include <TGUI/SvgImage.hpp>
34#include <TGUI/Backend/Renderer/BackendTexture.hpp>
36#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
43TGUI_MODULE_EXPORT
namespace tgui
48 struct TGUI_API TextureData
51 Optional<SvgImage> svgImage;
52 std::shared_ptr<BackendTexture> backendTexture;
58 struct TGUI_API TextureDataHolder
60 std::shared_ptr<TextureData> data;
63 unsigned int users = 0;
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38