LiteFX::Rendering::IGraphicsFactory::supportsResizableBaseAddressRegister¶
Returns true, if the GPU supports resizable base address register (ReBAR) and false otherwise.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual bool supportsResizableBaseAddressRegister() const noexcept = 0;
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.