UChaosCache::FlushPendingFrames

As we record post-simulate of physics, we're almost always taking data from a non-main thread (physics thread).

Windows
MacOS
Linux

References

Module

ChaosCaching

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

Syntax

void FlushPendingFrames()

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss