Module |
|
Header |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Public/Chaos/ChaosCache.h |
Include |
#include "Chaos/ChaosCache.h" |
Source |
/Engine/Plugins/Experimental/ChaosCaching/Source/ChaosCaching/Private/Chaos/ChaosCache.cpp |
void FlushPendingFrames()
As we record post-simulate of physics, we're almost always taking data from a non-main thread (physics thread). Because of this we can't directly write into the cache, but instead into a pending frame queue that needs to be flushed on the main thread to write the pending data into the final storage.