FDeviceMemoryAllocation

Syntax

class FDeviceMemoryAllocation

Remarks

An Allocation off a Device Heap. Lowest level of allocations and bounded by VkPhysicalDeviceLimits::maxMemoryAllocationCount.

Variables

Name Description

Protected variable

uint32 : 0

 

pad0

Protected variable

uint32 : 1

 

bCanBeMapped

Protected variable

uint32 : 1

 

bFreedBySystem

Protected variable

uint32 : 1

 

bIsCached

Protected variable

uint32 : 1

 

bIsCoherent

Protected variable

VkDevice

 

DeviceHandle

Protected variable

VkDeviceMemory

 

Handle

Protected variable

void *

 

MappedPointer

Protected variable

uint32 : 8

 

MemoryTypeIndex

Protected variable

VkDeviceSize

 

Size

Constructors

Name Description

Public function

FDeviceMemoryAllocation()

Destructors

Name Description

Protected function

~FDeviceMemoryAllocation()

Only owner can delete!

Functions

Name Description

Public function Const

bool

 

CanBeMapped()

Public function

void

 

FlushMappedMemory

(
    VkDeviceSize InOffset,
    VkDeviceSize InSize
)

Public function Const

VkDeviceMemo...

 

GetHandle()

Public function

void *

 

GetMappedPointer()

Public function Const

uint32

 

GetMemoryTypeIndex()

Public function Const

VkDeviceSize

 

GetSize()

Public function

void

 

InvalidateMappedMemory

(
    VkDeviceSize InOffset,
    VkDeviceSize InSize
)

Public function Const

bool

 

IsCoherent()

Public function Const

bool

 

IsMapped()

Public function

void *

 

Map

(
    VkDeviceSize Size,
    VkDeviceSize Offset
)

Public function

void

 

Unmap()

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h