#include <Cache.hpp>
|
| | Cache (std::function<::Shader(const char *, const char *)> dataLoader, std::function< void(::Shader)> dataUnloader) |
| |
| std::shared_ptr<::Shader > | fetch (const std::string &vertexFile, const std::string &fragmentFile, bool lonely=false) |
| |
◆ Cache()
◆ fetch()
| std::shared_ptr<::Shader> RAY::Cache<::Shader >::fetch |
( |
const std::string & |
vertexFile, |
|
|
const std::string & |
fragmentFile, |
|
|
bool |
lonely = false |
|
) |
| |
|
inline |
◆ _cache
map storing shared ptr of caches
◆ _dataLoader
function to call to load data
◆ _dataUnloader
function to call when the ray data will be unloaded
The documentation for this class was generated from the following file: