Otclient  14/8/2020
TextureManager Class Reference

#include <texturemanager.h>

Public Member Functions

void init ()
 
void terminate ()
 
void poll ()
 
void clearCache ()
 
void liveReload ()
 
void preload (const std::string &fileName)
 
TexturePtr getTexture (const std::string &fileName)
 
const TexturePtrgetEmptyTexture ()
 

Detailed Description

Definition at line 29 of file texturemanager.h.

Member Function Documentation

◆ clearCache()

void TextureManager::clearCache ( )

Definition at line 64 of file texturemanager.cpp.

Here is the caller graph for this function:

◆ getEmptyTexture()

const TexturePtr& TextureManager::getEmptyTexture ( )
inline

Definition at line 41 of file texturemanager.h.

Here is the caller graph for this function:

◆ getTexture()

TexturePtr TextureManager::getTexture ( const std::string &  fileName)

Definition at line 90 of file texturemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void TextureManager::init ( )

Definition at line 35 of file texturemanager.cpp.

Here is the caller graph for this function:

◆ liveReload()

void TextureManager::liveReload ( )

Definition at line 70 of file texturemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ poll()

void TextureManager::poll ( )

Definition at line 51 of file texturemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ preload()

void TextureManager::preload ( const std::string &  fileName)
inline

Definition at line 39 of file texturemanager.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate()

void TextureManager::terminate ( )

Definition at line 40 of file texturemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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