Navigation
API > API/Runtime > API/Runtime/Chaos
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include | #include "RewindData.h" |
Syntax
template<typename T, EChaosProperty PropName, bool bNoEntryIsHead>
class TParticlePropertyBuffer
Constructors
| Type | Name | Description | |
|---|---|---|---|
TParticlePropertyBuffer
(
int32 InCapacity |
|||
TParticlePropertyBuffer
(
TParticlePropertyBuffer< T, PropName >&& Other |
|||
TParticlePropertyBuffer
(
const TParticlePropertyBuffer< T, PropName >& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearEntryAndFuture
(
const FFrameAndPhase FrameAndPhase |
||
| void | ExtractBufferState
(
int32& ValidCount, |
||
| T & | Insert
(
const FFrameAndPhase FrameAndPhase, |
||
| bool | IsClean
(
const FFrameAndPhase FrameAndPhase |
||
| bool | IsEmpty () |
||
| bool | IsInSync
(
const THandle& Handle, |
||
| const T * | Read
(
const FFrameAndPhase FrameAndPhase, |
Searches in reverse order for interval that contains FrameAndPhase. | |
| void | Release
(
FDirtyPropertiesPool& Manager |
Releases data back into the pool. | |
| void | Reset () |
||
| void | RestoreBufferState
(
const int32& ValidCount, |
||
| T & | WriteAccessMonotonic
(
const FFrameAndPhase FrameAndPhase, |
Gets access into buffer in monotonically increasing FrameAndPhase order: x_{n+1} > x_n. | |
| T * | WriteAccessNonDecreasing
(
const FFrameAndPhase FrameAndPhase, |
Gets access into buffer in non-decreasing FrameAndPhase order: x_{n+1} >= x_n If x_{n+1} == x_n we return null to inform the user (usefull when a single phase can have multiple writes) |