FTempFrameAllocationBuffer

Inheritance Hierarchy

FDeviceChild

FTempFrameAllocationBuffer

Syntax

class FTempFrameAllocationBuffer : public VulkanRHI::FDeviceChild

Remarks

Simple tape allocation per frame for a VkBuffer, used for Volatile allocations.

Variables

Name Description

Protected variable

uint32

 

BufferIndex

Protected variable

FCriticalSectio ...

 

CS

Protected variable

FFrameEntry [NUM...

 

Entries

Constructors

Name Description

Public function

FTempFrameAllocationBuffer

(
    FVulkanDevice* InDevice
)

Destructors

Functions

Name Description

Public function

void

 

Alloc

(
    uint32 InSize,
    uint32 InAlignment,
    FTempAllocInfo & OutInfo
)

Public function

void

 

Destroy()

Public function

void

 

Reset()

Classes

Name

Description

Protected struct

FFrameEntry

Public struct

FTempAllocInfo

Constants

Name

Description

ALLOCATION_SIZE

NUM_BUFFERS

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanMemory.h