FOldResourceHeapPage

One device allocation that is shared amongst different resources.

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

/Engine/Source/Runtime/VulkanRHI/Public/VulkanMemory.h

Include

#include "VulkanMemory.h"

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
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss