IDerivedDataCacheModule::GetCache

Returns a pointer to the cache, which may be null.

Unreal Engine C++ API Reference > Developer > DerivedDataCache > IDerivedDataCacheModule

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCacheModule.h
Include #include "DerivedDataCacheModule.h"
[FDerivedDataCacheInterface](API\Developer\DerivedDataCache\FDerivedDataCacheInterface) *const * GetCache()

Remarks

Returns a pointer to the cache, which may be null.

This returns a non-null pointer to a cache which may be null and 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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library