Luanti 5.16.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
 Generates a texture string into a standard texture.

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

Generates a texture string into a standard texture.

Implemented in ITextureSource, MenuTextureSource, and TextureSource.

Referenced by ITextureSource::~ITextureSource(), ButtonLayout::getTexture(), StyleSpec::getTexture(), and StyleSpec::getTexture().

Here is the caller graph for this function:

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