Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ISimpleTextureSource Class Referenceabstract

#include <texturesource.h>

+ Inheritance diagram for ISimpleTextureSource:

Public Member Functions

 ISimpleTextureSource ()=default
 
virtual ~ISimpleTextureSource ()=default
 
virtual video::ITexture * getTexture (const std::string &name, u32 *id=nullptr)=0
 

Constructor & Destructor Documentation

◆ ISimpleTextureSource()

ISimpleTextureSource::ISimpleTextureSource ( )
default

◆ ~ISimpleTextureSource()

virtual ISimpleTextureSource::~ISimpleTextureSource ( )
virtualdefault

Member Function Documentation

◆ getTexture()

virtual video::ITexture * ISimpleTextureSource::getTexture ( const std::string & name,
u32 * id = nullptr )
pure virtual

Implemented in ITextureSource, IWritableTextureSource, MenuTextureSource, and TextureSource.

Referenced by GUITable::allocImage(), GUIBackgroundImage::draw(), TextDrawer::draw(), StyleSpec::getTexture(), StyleSpec::getTexture(), load_button_texture(), GUIFormSpecMenu::parseAnimatedImage(), GUIFormSpecMenu::parseImage(), and GUIFormSpecMenu::parseModel().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: