WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
TextureManager Class Reference

#include <TextureManager.hpp>

Public Member Functions

void add (Texture &texture)
 
Texture * get (std::string name)
 
void loadTextureVerbose (const std::string _path, Texture *_texture)
 
void loadRaw (std::string strRaw)
 
Texture * getTextureByName (std::string _texName)
 

Public Attributes

Vector< Texture * > vTexture
 
Vector< std::string > vTexName
 
Texture * tex404
 

Member Function Documentation

◆ add()

void TextureManager::add ( Texture &  texture)
inline

◆ get()

Texture* TextureManager::get ( std::string  name)
inline

◆ getTextureByName()

Texture* TextureManager::getTextureByName ( std::string  _texName)
inline

◆ loadRaw()

void TextureManager::loadRaw ( std::string  strRaw)
inline

◆ loadTextureVerbose()

void TextureManager::loadTextureVerbose ( const std::string  _path,
Texture *  _texture 
)
inline

Member Data Documentation

◆ tex404

Texture* TextureManager::tex404

◆ vTexName

Vector<std::string> TextureManager::vTexName

◆ vTexture

Vector<Texture*> TextureManager::vTexture

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