Navigation
API > API/Runtime > API/Runtime/MassEntity
Tracks which FQueuedChunks are active to manage contention
| Name | FActiveChunkTracker |
| Type | class |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassProcessingQueueTypes.h |
| Include Path | #include "MassProcessingQueueTypes.h" |
Syntax
class FActiveChunkTracker
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActiveChunkTracker() |
MassProcessingQueueTypes.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WordType | uint64 | MassProcessingQueueTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidChunkID | uint64 | MassProcessingQueueTypes.h | |
| MaxActiveChunks | int32 | MassProcessingQueueTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BitmaskBuffer | TArray< WordType > | MassProcessingQueueTypes.h | ||
| ChunkIDs | std::atomic< uint64 > | MassProcessingQueueTypes.h | ||
| MatrixRef | const FContentionMatrix * | MassProcessingQueueTypes.h | ||
| SlotAssignmentLock | std::atomic_flag | MassProcessingQueueTypes.h | ||
| SlotLocks | std::atomic_flag | MassProcessingQueueTypes.h | ||
| SlotRefCounts | int32 | MassProcessingQueueTypes.h | ||
| WordsPerRow | int32 | MassProcessingQueueTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
const FContentionMatrix& InMatrix |
MassProcessingQueueTypes.h | ||
void ReleaseAccess
(
FQueuedChunk& Chunk, |
MassProcessingQueueTypes.h | ||
bool TryAcquireAccess
(
FQueuedChunk& Chunk, |
Checks active contention and reserves the chunk's contention index if safe | MassProcessingQueueTypes.h |