Navigation
API > API/Runtime > API/Runtime/MassEntity
Dynamically sized bit-matrix to track contention between items.
| Name | FContentionMatrix |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassProcessingQueueTypes.h |
| Include Path | #include "MassProcessingQueueTypes.h" |
Syntax
struct FContentionMatrix
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassProcessingQueueTypes.h | |||
FContentionMatrix
(
int32 InNumElements |
MassProcessingQueueTypes.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WordType | uint64 | MassProcessingQueueTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BitsPerWord | int32 | MassProcessingQueueTypes.h | |
| BitsPerWordLog2 | int32 | MassProcessingQueueTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MatrixBits | TArray< WordType > | MassProcessingQueueTypes.h | ||
| NumElements | int32 | MassProcessingQueueTypes.h | ||
| WordsPerRow | int32 | MassProcessingQueueTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear() |
Zero the entire matrix. | MassProcessingQueueTypes.h | |
const WordType * GetRowWordPointer
(
int32 RowIndex |
Raw pointer to the start of the row's words. | MassProcessingQueueTypes.h | |
int32 GetSize() |
MassProcessingQueueTypes.h | ||
int32 GetWordsPerRow() |
MassProcessingQueueTypes.h | ||
void Init
(
int32 InNumElements |
Resizes the matrix to hold InNumElements. This clears all existing data. | MassProcessingQueueTypes.h | |
void Set
(
int32 RowIndex, |
Set contends(i,j) = true | MassProcessingQueueTypes.h | |
void SetMutual
(
int32 RowIndex, |
Set contends(i,j) = true and contends(j,i) = true | MassProcessingQueueTypes.h | |
bool Test
(
int32 RowIndex, |
Test contention(i,j) | MassProcessingQueueTypes.h |