Skip to content

LiteFX::Rendering::Backends::VulkanGraphicsFactory::supportsResizableBaseAddressRegister

Returns true, if the GPU supports resizable base address register (ReBAR) and false otherwise.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual bool supportsResizableBaseAddressRegister() const noexcept override;

Description

If the GPU supports resizable base address register (ReBAR), you can use ResourceHeap::GPUUpload for buffers to directly write map into GPU memory. If it is not supported, you may want to fall back to a ResourceHeap::Dynamic resource instead.

Return Value

true, if the GPU supports resizable base address register (ReBAR) and false otherwise.