LiteFX::Rendering::IDeviceMemory::virtualAddress¶
Gets the address of the resource in GPU memory.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, dllexport]] virtual UInt64 virtualAddress() const noexcept = 0;
Description¶
Note that this may not be supported for all resource types in all backends. For example, Vulkan does not support obtaining virtual addresses of image resources.
Return Value¶
The address of the resource in GPU memory.