26#ifndef TGUI_TEXTURE_DATA_HPP
27#define TGUI_TEXTURE_DATA_HPP
31#include <TGUI/SvgImage.hpp>
33#include <SFML/Graphics/Image.hpp>
34#include <SFML/Graphics/Texture.hpp>
35#include <SFML/Graphics/Rect.hpp>
36#include <SFML/Graphics/Shader.hpp>
48 struct TGUI_API TextureData
50 std::shared_ptr<sf::Image> image;
51 std::unique_ptr<SvgImage> svgImage;
56 sf::Shader* shader =
nullptr;
63 struct TGUI_API TextureDataHolder
65 std::shared_ptr<TextureData> data;
67 unsigned int users = 0;
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:37