Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TParticlePropertyBuffer |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include Path | #include "RewindData.h" |
Syntax
template<typename T, EChaosProperty PropName, bool bNoEntryIsHead>
class TParticlePropertyBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TParticlePropertyBuffer
(
TParticlePropertyBuffer< T, PropName >&& Other |
RewindData.h | ||
TParticlePropertyBuffer
(
int32 InCapacity |
RewindData.h | ||
TParticlePropertyBuffer
(
const TParticlePropertyBuffer< T, PropName >& Other |
RewindData.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~TParticlePropertyBuffer() |
RewindData.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Buffer | TArray< FPropertyInterval > | RewindData.h | ||
| Capacity | int32 | RewindData.h | ||
| Next | int32 | RewindData.h | ||
| NumValid | int32 | RewindData.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearEntryAndFuture
(
const FFrameAndPhase FrameAndPhase |
RewindData.h | ||
void ExtractBufferState
(
int32& ValidCount, |
RewindData.h | ||
const bool GetHeadFrameAndPhase
(
FFrameAndPhase& OutFrameAndPhase |
Get the FrameAndPhase of the head / last entry. | RewindData.h | |
T & Insert
(
const FFrameAndPhase FrameAndPhase, |
RewindData.h | ||
bool IsClean
(
const FFrameAndPhase FrameAndPhase |
RewindData.h | ||
bool IsEmpty() |
RewindData.h | ||
bool IsInSync
(
const THandle& Handle, |
RewindData.h | ||
const T * Read
(
const FFrameAndPhase FrameAndPhase, |
Searches in reverse order for interval that contains FrameAndPhase. | RewindData.h | |
void Release
(
FDirtyPropertiesPool& Manager |
Releases data back into the pool. | RewindData.h | |
void Reset() |
RewindData.h | ||
void RestoreBufferState
(
const int32& ValidCount, |
RewindData.h | ||
T & WriteAccessMonotonic
(
const FFrameAndPhase FrameAndPhase, |
Gets access into buffer in monotonically increasing FrameAndPhase order: x_{n+1} > x_n. | RewindData.h | |
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) | RewindData.h |