FTempFrameAllocationBuffer

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

Windows
MacOS
Linux

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

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback