Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FMallocBinnedGPU
| Name | FPerThreadFreeBlockLists |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/HAL/MallocBinnedGPU.h |
| Include Path | #include "HAL/MallocBinnedGPU.h" |
Syntax
struct FPerThreadFreeBlockLists
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPerThreadFreeBlockLists
(
uint32 PoolCount |
HAL/MallocBinnedGPU.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllocatedMemory | int64 | HAL/MallocBinnedGPU.h | ||
| FreeLists | TArray< FFreeBlockList > | HAL/MallocBinnedGPU.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanFree
(
uint32 InPoolIndex, |
Return true if a pointer can be pushed | HAL/MallocBinnedGPU.h | |
bool Free
(
FMallocBinnedGPU& Allocator, |
Return true if the pointer was pushed | HAL/MallocBinnedGPU.h | |
void * Malloc
(
FMallocBinnedGPU& Allocator, |
HAL/MallocBinnedGPU.h | ||
bool ObtainRecycledPartial
(
FArenaParams& LocalArenaParams, |
Returns true if we have anything to pop | HAL/MallocBinnedGPU.h | |
FBundleNode * PopBundles
(
uint32 InPoolIndex |
HAL/MallocBinnedGPU.h | ||
FBundleNode * RecycleFullBundle
(
FArenaParams& LocalArenaParams, |
Returns a bundle that needs to be freed if it can't be recycled | HAL/MallocBinnedGPU.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int64 ClearTLS
(
FMallocBinnedGPU& Allocator |
HAL/MallocBinnedGPU.h | ||
static FPerThreadFreeBlockLists * Get
(
uint32 BinnedGPUTlsSlot |
HAL/MallocBinnedGPU.h | ||
static void SetTLS
(
FMallocBinnedGPU& Allocator |
HAL/MallocBinnedGPU.h |