Euphoria
eu::render::TextureCache Struct Reference

#include <texturecache.h>

Classes

struct  TextureCachePimpl
 

Public Member Functions

 TextureCache (io::FileSystem *fs)
 
 ~TextureCache ()
 
 TextureCache (const TextureCache &other)=delete
 
void operator= (const TextureCache &)=delete
 
 TextureCache (TextureCache &&other)=delete
 
void operator= (TextureCache &&)=delete
 
std::shared_ptr< Texture2get_texture (const io::FilePath &path) const
 
std::shared_ptr< Texture2get_texture (const std::optional< io::FilePath > &path) const
 

Public Attributes

std::unique_ptr< TextureCachePimplpimpl
 

Detailed Description

Definition at line 17 of file texturecache.h.

Constructor & Destructor Documentation

◆ TextureCache() [1/3]

eu::render::TextureCache::TextureCache ( io::FileSystem fs)
explicit

Definition at line 37 of file texturecache.cc.

◆ ~TextureCache()

eu::render::TextureCache::~TextureCache ( )
default

◆ TextureCache() [2/3]

eu::render::TextureCache::TextureCache ( const TextureCache other)
delete

◆ TextureCache() [3/3]

eu::render::TextureCache::TextureCache ( TextureCache &&  other)
delete

Member Function Documentation

◆ get_texture() [1/2]

std::shared_ptr< Texture2 > eu::render::TextureCache::get_texture ( const io::FilePath path) const

Definition at line 47 of file texturecache.cc.

◆ get_texture() [2/2]

std::shared_ptr< Texture2 > eu::render::TextureCache::get_texture ( const std::optional< io::FilePath > &  path) const

Definition at line 54 of file texturecache.cc.

◆ operator=() [1/2]

void eu::render::TextureCache::operator= ( const TextureCache )
delete

◆ operator=() [2/2]

void eu::render::TextureCache::operator= ( TextureCache &&  )
delete

Member Data Documentation

◆ pimpl

std::unique_ptr<TextureCachePimpl> eu::render::TextureCache::pimpl

Definition at line 34 of file texturecache.h.


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