FOldResourceAllocation

A sub allocation for a specific memory type.

Windows
MacOS
Linux

Inheritance Hierarchy

FRefCount

FOldResourceAllocation

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

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 Const

VkDeviceMemo...

 

GetHandle()

Public function

void *

 

GetMappedPointer()

Public function Const

uint32

 

GetMemoryTypeIndex()

Public function Const

uint32

 

GetOffset()

Public function Const

uint32

 

GetSize()

Public function

void

 

InvalidateMappedMemory()

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