Language:
Discover
By Skill Level
By Category

FVulkanRingBuffer

Choose your OS:

Inheritance Hierarchy

FDeviceChild

FVulkanRingBuffer

Syntax

struct FVulkanRingBuffer : public VulkanRHI::FDeviceChild

Variables

Name Description

Protected variable

uint64

 

BufferOffset

Protected variable

uint64

 

BufferSize

Protected variable

VulkanRHI::FBuf ...

 

BufferSuballocation

Protected variable

FVulkanCmdBuffe...

 

FenceCmdBuffer

Fence for wrapping around.

Protected variable

uint64

 

FenceCounter

Protected variable

uint32

 

MinAlignment

Constructors

Name Description

Public function

FVulkanRingBuffer

(
    FVulkanDevice* InDevice,
    uint64 TotalSize,
    VkFlags Usage,
    VkMemoryPropertyFlags MemPropertyFl...
)

Destructors

Name Description

Public function

~FVulkanRingBuffer()

Functions

Name Description

Public function

uint64

 

AllocateMemory

(
    uint64 Size,
    uint32 Alignment,
    FVulkanCmdBuffer* InCmdBuffer
)

Allocate some space in the ring buffer.

Public function

uint32

 

GetBufferOffset()

Public function

VkBuffer

 

GetHandle()

Public function

void *

 

GetMappedPointer()

Protected function

uint64

 

WrapAroundAllocateMemory

(
    uint64 Size,
    uint32 Alignment,
    FVulkanCmdBuffer* InCmdBuffer
)

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanResources.h