FTempFrameAllocationBuffer

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

Windows
MacOS
Linux

Inheritance Hierarchy

FDeviceChild

FTempFrameAllocationBuffer

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

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

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