FResourceHeapManager::AllocateBuffer

Returns a sub-allocation, as there can be space inside a previously allocated VkBuffer to be reused; to release a sub allocation, just delete the pointer.

Windows
MacOS
Linux

References

Module

VulkanRHI

Header

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

Include

#include "VulkanMemory.h"

Source

/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp

Syntax

FBufferSuballocation * AllocateBuffer
(
    uint32 Size,
    VkBufferUsageFlags BufferUsageFlags,
    VkMemoryPropertyFlags MemoryPropertyFlags,
    const char * File,
    uint32 Line
)

Remarks

Returns a sub-allocation, as there can be space inside a previously allocated VkBuffer to be reused; to release a sub allocation, just delete the pointer.

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