Blender V5.0
BLI_memory_cache_file_load.hh File Reference
#include "BLI_memory_cache.hh"
#include "BLI_string_ref.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::memory_cache

Functions

template<typename T>
std::shared_ptr< const Tblender::memory_cache::get_loaded (const GenericKey &loader_key, Span< StringRefNull > file_paths, FunctionRef< std::unique_ptr< T >()> load_fn)
std::shared_ptr< CachedValueblender::memory_cache::get_loaded_base (const GenericKey &loader_key, Span< StringRefNull > file_paths, FunctionRef< std::unique_ptr< CachedValue >()> load_fn)