FOldResourceHeapPage

Syntax

class FOldResourceHeapPage

Remarks

One device allocation that is shared amongst different resources.

Variables

Name Description

Protected variable

FDeviceMemoryAl ...

 

DeviceMemoryAllocation

Protected variable

uint32

 

FrameFreed

Protected variable

TArray < FRange ...

 

FreeList

Protected variable

uint32

 

ID

Protected variable

uint32

 

MaxSize

Protected variable

FOldResourceHea ...

 

Owner

Protected variable

int32

 

PeakNumAllocations

Protected variable

TArray < FOldRes ...

 

ResourceAllocations

Protected variable

uint32

 

UsedSize

Constructors

Name Description

Public function

FOldResourceHeapPage

(
    FOldResourceHeap * InOwner,
    FDeviceMemoryAllocation * InDev...,
    uint32 InID
)

Destructors

Name Description

Public function

~FOldResourceHeapPage()

Functions

Name Description

Public function

FOldResource ...

 

Allocate

(
    uint32 Size,
    uint32 Alignment,
    const char* File,
    uint32 Line
)

Public function Const

uint32

 

GetID()

Public function

FOldResource ...

 

GetOwner()

Protected function

bool

 

JoinFreeBlocks()

Public function

void

 

ReleaseAllocation

(
    FOldResourceAllocation * Alloca...
)

Public function

FOldResource ...

 

TryAllocate

(
    uint32 Size,
    uint32 Alignment,
    const char* File,
    uint32 Line
)

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h