YAGE  v0.1.3
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
yage::TextureCache Class Reference

#include <texturecache.h>

Public Member Functions

 TextureCache ()=default
 
Texture getTexture (const std::string &texture_path)
 
Texture getTextureFromSpriteSheet ()
 

Private Attributes

std::unordered_map
< std::string, Texture
texture_map_
 

Constructor & Destructor Documentation

yage::TextureCache::TextureCache ( )
default

Member Function Documentation

Texture yage::TextureCache::getTexture ( const std::string &  texture_path)
Texture yage::TextureCache::getTextureFromSpriteSheet ( )

Member Data Documentation

std::unordered_map<std::string, Texture> yage::TextureCache::texture_map_
private

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