FStagingManager

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

Syntax

class FStagingManager

Variables

Name Description

Protected variable

FVulkanDevice &...

 

Device

Protected variable

TArray< FFreeEn...

 

FreeStagingBuffers

Protected variable

uint64

 

PeakUsedMemory

Protected variable

TArray< FPendin...

 

PendingFreeStagingBuffers

Protected variable

uint64

 

UsedMemory

Protected variable

TArray< FStagin...

 

UsedStagingBuffers

Constructors

Name Description

Public function

FStagingManager()

Destructors

Name Description

Public function

~FStagingManager()

Functions

Name Description

Public function

FStagingBuff...

 

AcquireBuffer

(
    uint32 Size,
    VkBufferUsageFlags InUsageFlags,
    VkMemoryPropertyFlagBits InMemoryRe...
)

Public function

void

 

Deinit()

Public function

void

 

DumpMemory()

Protected function

FPendingItem...

 

FindOrAdd

(
    FVulkanCmdBuffer* CmdBuffer
)

Public function

void

 

GetMemoryDump

(
    FResourceHeapStats& Stats
)

Public function

void

 

Init

(
    FVulkanDevice* InDevice
)

Public function

void

 

ProcessPendingFree

(
    bool bImmediately,
    bool bFreeToOS
)

Protected function

void

 

ProcessPendingFreeNoLock

(
    bool bImmediately,
    bool bFreeToOS
)

Public function

void

 

ReleaseBuffer

(
    FVulkanCmdBuffer* CmdBuffer,
    FStagingBuffer*& StagingBuffer
)

Sets pointer to nullptr.

Classes

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