Luanti 5.16.0-dev
Loading...
Searching...
No Matches
PreLoadedTextures Struct Reference
Collaboration diagram for PreLoadedTextures:

Public Member Functions

PreLoadedTexture find (const std::string &name)
void add (const std::string &name, const PreLoadedTexture &t)
void printStats (std::ostream &to) const

Public Attributes

std::unordered_map< std::string, PreLoadedTexturepool
std::unordered_set< std::string > missed

Member Function Documentation

◆ add()

void PreLoadedTextures::add ( const std::string & name,
const PreLoadedTexture & t )

References pool.

Referenced by NodeVisuals::fillNodeVisuals().

Here is the caller graph for this function:

◆ find()

PreLoadedTexture PreLoadedTextures::find ( const std::string & name)

References missed, and pool.

Referenced by fillTileAttribs().

Here is the caller graph for this function:

◆ printStats()

void PreLoadedTextures::printStats ( std::ostream & to) const

References missed, pool, and PreLoadedTexture::used.

Referenced by NodeVisuals::fillNodeVisuals().

Here is the caller graph for this function:

Member Data Documentation

◆ missed

std::unordered_set<std::string> PreLoadedTextures::missed

Referenced by find(), and printStats().

◆ pool

std::unordered_map<std::string, PreLoadedTexture> PreLoadedTextures::pool

Referenced by add(), find(), and printStats().


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