Resource::ICache class

An interface that is used to cache loaded resources for fast access.

Constructors, destructors, conversion operators

~ICache() pure virtual

Public functions

auto Initialize() -> bool pure virtual
auto Dispose() -> bool pure virtual
auto GetCacheType() -> uint32_t pure virtual
auto GetKeyFilter() -> IKeyFilter* pure virtual
void SetKeyFilter(IKeyFilter* filter) pure virtual
auto GetResource(ResourceKey& key, ResourceObjectPtr* dst = nullptr) -> bool pure virtual
auto CacheResource(ResourceObject* resource, bool) -> bool pure virtual
auto CanCacheResource(ResourceObject* resource) -> bool pure virtual
auto GetResourceList(eastl::list<ResourceObjectPtr>& dst, IKeyFilter* filter) -> size_t pure virtual
void Flush(IKeyFilter* filter) pure virtual