Navigation
API > API/Runtime > API/Runtime/Chaos
An adapter to allow use of types with the TPoolBackedArray.
| Name | TPoolBackedItemAdapter |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Framework/PoolBackedArray.h |
| Include Path | #include "Chaos/Framework/PoolBackedArray.h" |
Syntax
template<typename T>
struct TPoolBackedItemAdapter
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetArrayIndex
(
const T& Item |
TPoolBackedArray requires the items to store their index in the array for fast removal. | Chaos/Framework/PoolBackedArray.h | |
static void ReuseItem
(
T& Item, |
Called when an item is created by recovering from the free list. | Chaos/Framework/PoolBackedArray.h | |
static void SetArrayIndex
(
T& Item, |
Chaos/Framework/PoolBackedArray.h | ||
static void TrashItem
(
T& Item |
Called when an item is added to the free list. | Chaos/Framework/PoolBackedArray.h |