Definition texturesource.h:25
virtual ~ISimpleTextureSource()=default
virtual video::ITexture * getTexture(const std::string &name, u32 *id=nullptr)=0
ISimpleTextureSource()=default
Definition texturesource.h:36
virtual video::ITexture * getTexture(u32 id)=0
virtual std::string getTextureName(u32 id)=0
virtual u32 getTextureId(const std::string &name)=0
virtual video::ITexture * getTexture(const std::string &name, u32 *id=nullptr)=0
virtual Palette * getPalette(const std::string &name)=0
virtual ~ITextureSource()=default
virtual video::SColor getTextureAverageColor(const std::string &name)=0
virtual video::ITexture * getTextureForMesh(const std::string &name, u32 *id=nullptr)=0
virtual bool isKnownSourceImage(const std::string &name)=0
Definition texturesource.h:61
virtual video::SColor getTextureAverageColor(const std::string &name)=0
virtual void insertSourceImage(const std::string &name, video::IImage *img)=0
IWritableTextureSource()=default
virtual std::string getTextureName(u32 id)=0
virtual video::ITexture * getTexture(u32 id)=0
virtual u32 getTextureId(const std::string &name)=0
virtual void processQueue()=0
virtual bool isKnownSourceImage(const std::string &name)=0
virtual video::ITexture * getTexture(const std::string &name, u32 *id=nullptr)=0
virtual ~IWritableTextureSource()=default
virtual void rebuildImagesAndTextures()=0
std::vector< video::SColor > Palette
Definition texturesource.h:18
IWritableTextureSource * createTextureSource()
Definition texturesource.cpp:168