FDeviceMemoryAllocation

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

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

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

 

bDedicatedMemory

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

Protected variable

FVulkanTrackInf...

 

Track

Constructors

Name Description

Public function

FDeviceMemoryAllocation()

Destructors

Name Description

Protected function

~FDeviceMemoryAllocation()

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()

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