Euphoria
eu::render::MaterialShaderCache Struct Reference

#include <materialshadercache.h>

Inheritance diagram for eu::render::MaterialShaderCache:
eu::core::Cache< io::FilePath, MaterialShader, MaterialShaderCache >

Public Member Functions

 MaterialShaderCache (io::FileSystem *fs)
 
std::shared_ptr< MaterialShadercreate (const io::FilePath &path) const
 
- Public Member Functions inherited from eu::core::Cache< io::FilePath, MaterialShader, MaterialShaderCache >
std::shared_ptr< MaterialShader > get (const io::FilePath &key)
 

Public Attributes

io::FileSystemfile_system
 
- Public Attributes inherited from eu::core::Cache< io::FilePath, MaterialShader, MaterialShaderCache >
std::map< io::FilePath, std::weak_ptr< MaterialShader > > store
 

Detailed Description

Definition at line 10 of file materialshadercache.h.

Constructor & Destructor Documentation

◆ MaterialShaderCache()

eu::render::MaterialShaderCache::MaterialShaderCache ( io::FileSystem fs)
inline

Definition at line 15 of file materialshadercache.h.

Member Function Documentation

◆ create()

std::shared_ptr<MaterialShader> eu::render::MaterialShaderCache::create ( const io::FilePath path) const
inline

Definition at line 21 of file materialshadercache.h.

Member Data Documentation

◆ file_system

io::FileSystem* eu::render::MaterialShaderCache::file_system

Definition at line 13 of file materialshadercache.h.


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