Language:
Discover
By Skill Level
By Category

FOldResourceAllocation

Choose your OS:

Inheritance Hierarchy

FRefCount

FOldResourceAllocation

Syntax

class FOldResourceAllocation : public VulkanRHI::FRefCount

Remarks

A sub allocation for a specific memory type.

Constructors

Name Description

Public function

FOldResourceAllocation

(
    FOldResourceHeapPage * InOwner,
    FDeviceMemoryAllocation * InDev...,
    uint32 InRequestedSize,
    uint32 InAlignedOffset,
    uint32 InAllocationSize,
    uint32 InAllocationOffset,
    const char* InFile,
    uint32 InLine
)

Destructors

Name Description

Public function Virtual

~FOldResourceAllocation()

Functions

Name Description

Public function

void

 

BindBuffer

(
    FVulkanDevice* Device,
    VkBuffer Buffer
)

Public function

void

 

BindImage

(
    FVulkanDevice* Device,
    VkImage Image
)

Public function

void

 

FlushMappedMemory()

Public function

uint32

 

GetAllocationSize()

Public function

VkDeviceMemo...

 

GetHandle()

Public function

void *

 

GetMappedPointer()

Public function

uint32

 

GetMemoryTypeIndex()

Public function

uint32

 

GetOffset()

Public function

uint32

 

GetSize()

Public function

void

 

InvalidateMappedMemory()

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h