Euphoria
eu::render::TextureCache::TextureCachePimpl Struct Reference
Inheritance diagram for eu::render::TextureCache::TextureCachePimpl:
eu::core::Cache< io::FilePath, Texture2, TextureCache::TextureCachePimpl >

Public Member Functions

 TextureCachePimpl (io::FileSystem *fs)
 
std::shared_ptr< Texture2create (const io::FilePath &file) const
 
- Public Member Functions inherited from eu::core::Cache< io::FilePath, Texture2, TextureCache::TextureCachePimpl >
std::shared_ptr< Texture2 > get (const io::FilePath &key)
 

Public Attributes

io::FileSystemvfs
 
- Public Attributes inherited from eu::core::Cache< io::FilePath, Texture2, TextureCache::TextureCachePimpl >
std::map< io::FilePath, std::weak_ptr< Texture2 > > store
 

Detailed Description

Definition at line 11 of file texturecache.cc.

Constructor & Destructor Documentation

◆ TextureCachePimpl()

eu::render::TextureCache::TextureCachePimpl::TextureCachePimpl ( io::FileSystem fs)
inlineexplicit

Definition at line 14 of file texturecache.cc.

Member Function Documentation

◆ create()

std::shared_ptr<Texture2> eu::render::TextureCache::TextureCachePimpl::create ( const io::FilePath file) const
inline

Definition at line 20 of file texturecache.cc.

Member Data Documentation

◆ vfs

io::FileSystem* eu::render::TextureCache::TextureCachePimpl::vfs

Definition at line 33 of file texturecache.cc.


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