Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FSparseElementsStorage
| Name | FPackedStructDataChunk |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassSparseElementsStorage.h |
| Include Path | #include "MassSparseElementsStorage.h" |
Syntax
struct FPackedStructDataChunk
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassSparseElementsStorage.h | |||
FPackedStructDataChunk
(
const FPackedStructDataChunk& |
MassSparseElementsStorage.h | ||
FPackedStructDataChunk
(
FPackedStructDataChunk&& Other |
Move constructor required since the array holding FPackedStructDataChunk instances will get reallocated | MassSparseElementsStorage.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPackedStructDataChunk() |
MassSparseElementsStorage.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NumElements | uint32 | MassSparseElementsStorage.h | ||
| OccupationMask | TBitArray | MassSparseElementsStorage.h | ||
| RawMemory | uint8 * | MassSparseElementsStorage.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FTypePool | friend | MassSparseElementsStorage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint8 * Add
(
const uint32 ElementIndex, |
Returns uninitialized memory, to be initialized by the caller | MassSparseElementsStorage.h | |
uint8 * GetElement
(
const uint32 ElementIndex, |
ElementIndex is verified by the caller | MassSparseElementsStorage.h | |
const uint8 * GetElement
(
const uint32 ElementIndex, |
MassSparseElementsStorage.h | ||
bool HasElement
(
const uint32 ElementIndex |
MassSparseElementsStorage.h | ||
void Init
(
const int32 MaxElements, |
MassSparseElementsStorage.h | ||
bool IsInitialized() |
MassSparseElementsStorage.h | ||
uint8 * Remove
(
const uint32 ElementIndex, |
MassSparseElementsStorage.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPackedStructDataChunk & operator=
(
const FPackedStructDataChunk& |
MassSparseElementsStorage.h | ||
FPackedStructDataChunk & operator=
(
FPackedStructDataChunk&& Other |
MassSparseElementsStorage.h |