FVulkanResourceMultiBuffer

Inheritance Hierarchy

Syntax

class FVulkanResourceMultiBuffer : public VulkanRHI::FDeviceChild

Variables

Name Description

Public variable

VulkanRHI::FBuf ...

 

BufferAllocation

Protected variable

TRefCountPtr < V ...

 

Buffers

Protected variable

VkBufferUsageFl...

 

BufferUsageFlags

Protected variable

FVulkanResource...

 

Current

Protected variable

uint32

 

DynamicBufferIndex

Public variable

VkBuffer

 

Handle

Protected variable

uint32

 

NumBuffers

Public variable

uint64

 

Offset

Public variable

VulkanRHI::FBuf ...

 

SubAlloc

Protected variable

uint32

 

UEUsage

Protected variable

VulkanRHI::FTem ...

 

VolatileLockInfo

Constructors

Name Description

Public function

FVulkanResourceMultiBuffer

(
    FVulkanDevice* InDevice,
    VkBufferUsageFlags InBufferUsageFla...,
    uint32 InSize,
    uint32 InUEUsage,
    FRHIResourceCreateInfo & CreateInfo,
    FRHICommandListImmediate * InRH...
)

Destructors

Functions

Name Description

Public function Const

VulkanRHI::F ...

 

GetBufferAllocation()

Public function Const

VkBufferUsag...

 

GetBufferUsageFlags()

Public function Const

int32

 

GetDynamicIndex()

Public function Const

VkBuffer

 

GetHandle()

Public function Const

int32

 

GetNumBuffers()

Public function Const

uint32

 

GetOffset()

Offset used for Binding a VkBuffer.

Public function Const

uint32

 

GetVolatileLockCounter()

Protected function Static

void

 

InternalUnlock

(
    FVulkanCommandListContext & Context,
    VulkanRHI::FPendingBufferLock& Pen...,
    FVulkanResourceMultiBuffer * Mu...,
    int32 InDynamicBufferIndex
)

Public function Const

bool

 

IsDynamic()

Public function Const

bool

 

IsVolatile()

Public function

void *

 

Lock

(
    bool bFromRenderingThread,
    EResourceLockMode LockMode,
    uint32 Size,
    uint32 Offset
)

Public function

void

 

Unlock

(
    bool bFromRenderingThread
)

Constants

Name

Description

NUM_BUFFERS

References

Module

VulkanRHI

Header

Runtime/VulkanRHI/Public/VulkanResources.h