3 #include <Engine/RaEngine.hpp>
7 #include <Engine/Data/Texture.hpp>
8 #include <Engine/OpenGL.hpp>
22 using TexturePair = std::pair<std::string, Texture*>;
36 TextureParameters& addTexture(
const std::string& name, uint width, uint height,
void* data );
69 void deleteTexture(
const std::string& filename );
74 void deleteTexture(
Texture* texture );
83 void updateTextureContent(
const std::string& texture,
void* content );
95 void updatePendingTextures();
110 std::map<std::string, Texture*> m_textures;
112 std::map<std::string, TextureParameters> m_pendingTextures;
114 std::map<std::string, void*> m_pendingData;