FOldResourceHeapPage

One device allocation that is shared amongst different resources.

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback