![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChaosMarshallingManager.h>
Manages data that gets marshaled from GT to PT using a timestamp
| Chaos::FChaosMarshallingManager::FChaosMarshallingManager | ( | ) |
| Chaos::FChaosMarshallingManager::~FChaosMarshallingManager | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Chaos::FChaosMarshallingManager::FinalizePullData_Internal | ( | int32 | LatestExternalTimestampConsumed, |
| FReal | SimStartTime, | ||
| FReal | DeltaTime | ||
| ) |
Hands pull data off to external thread
| void Chaos::FChaosMarshallingManager::FreeData_Internal | ( | FPushPhysicsData * | PushData | ) |
Frees the push data back into the pool. Internal thread should call this when finished processing data
| void Chaos::FChaosMarshallingManager::FreeDataToHistory_Internal | ( | FPushPhysicsData * | PushData | ) |
May record data to history, or may free immediately depending on rewind needs. Either way you should assume data is gone after calling this
Process SimCallbackObjects that are pending delete and clear their cached AsyncInputs from history At this point the SimCallbackObject is already unregistered from all callbacks and keeping it alive longer (until the end of the rewind history) is only a risk
| void Chaos::FChaosMarshallingManager::FreePullData_External | ( | FPullPhysicsData * | PullData | ) |
Frees the pull data back into the pool. External thread should call this when finished processing data
|
inline |
Grabs the consumer data to read from. Should only be called by internal thread
|
inline |
Returns the current pull data being written to. This holds the results of dirty data to be read later by external thread
|
inline |
|
inline |
|
inline |
Returns the amount of external time pushed so far. Any external commands or events should be associated with this time
|
inline |
Returns the timestamp associated with inputs enqueued.
|
inline |
Returns the internal step that the current PushData will be associated with once it is marshalled over
|
inline |
Used for multithreaded access
|
inline |
Return the size of the history queue
|
inline |
Grabs the producer data to write into. Should only be called by external thread
|
inline |
|
inline |
Pops and returns the earliest pull data available. nullptr means results are not ready or no work is pending
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Sets a new internal consumer data to read from. Should only be called by internal thread
|
inline |
Used to delay marshalled data. This is mainly used for testing at the moment
| TArray< FPushPhysicsData * > Chaos::FChaosMarshallingManager::StealHistory_Internal | ( | int32 | NumFrames | ) |
Returns the history buffer of the latest NumFrames. The history that comes before these frames is discarded
| void Chaos::FChaosMarshallingManager::Step_External | ( | FReal | ExternalDT, |
| const int32 | NumSteps = 1, |
||
| bool | bSolverSubstepped = false |
||
| ) |
Step forward using the external delta time. Should only be called by external thread
| FPushPhysicsData * Chaos::FChaosMarshallingManager::StepInternalTime_External | ( | ) |
Step the internal time forward if possible
|
inline |