FBufferSuballocation

Suballocation of a VkBuffer.

Windows
MacOS
Linux

Inheritance Hierarchy

FRefCount

FResourceSuballocation

FBufferSuballocation

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

Syntax

class FBufferSuballocation : public VulkanRHI::FResourceSuballocation

Remarks

Suballocation of a VkBuffer.

Variables

Name Description

Protected variable

VkBuffer

 

Handle

Protected variable

FBufferAllocati...

 

Owner

Constructors

Name Description

Public function

FBufferSuballocation

(
    FBufferAllocation* InOwner,
    VkBuffer InHandle,
    uint32 InRequestedSize,
    uint32 InAlignedOffset,
    uint32 InAllocationSize,
    uint32 InAllocationOffset
)

Destructors

Name Description

Public function Virtual

~FBufferSuballocation()

Functions

Name Description

Public function

void

 

Flush()

Public function

FBufferAlloc...

 

GetBufferAllocation()

Public function Const

VkBuffer

 

GetHandle()

Public function

void *

 

GetMappedPointer()

Returns the pointer to the mapped data for this SubAllocation, not the full buffer!

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