27typedef std::vector<video::SColor>
Palette;
41 const std::string &name, u32 *
id =
nullptr) = 0;
55 const std::string &name, u32 *
id =
nullptr)=0;
57 const std::string &name, u32 *
id =
nullptr) = 0;
82 const std::string &name, u32 *
id =
nullptr)=0;
Definition texturesource.h:34
virtual ~ISimpleTextureSource()=default
virtual video::ITexture * getTexture(const std::string &name, u32 *id=nullptr)=0
ISimpleTextureSource()=default
Definition texturesource.h:45
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 video::ITexture * getShaderFlagsTexture(bool normalmap_present)=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 video::ITexture * getNormalTexture(const std::string &name)=0
virtual bool isKnownSourceImage(const std::string &name)=0
Definition texturesource.h:72
virtual video::SColor getTextureAverageColor(const std::string &name)=0
virtual video::ITexture * getShaderFlagsTexture(bool normalmap_present)=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 * getNormalTexture(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:27
IWritableTextureSource * createTextureSource()
Definition texturesource.cpp:184