Navigation
API > API/Developer > API/Developer/DerivedDataCache > API/Developer/DerivedDataCache/IDerivedDataCacheModule
Description
Returns the cache, which is created by the first call to this function.
This always returns a pointer to a valid cache, but that pointer becomes null when the module shuts down and destroys the cache. This extra level of indirection allows a caller to observe the destruction of the cache without polling this function or monitoring the module lifetime.
| Name | CreateOrGetCache |
| Type | function |
| Header File | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheModule.h |
| Include Path | #include "DerivedDataCacheModule.h" |
FDerivedDataCacheInterface *const * CreateOrGetCache()