LiteFX::Rendering::Backends::VulkanCommandBuffer::copyAccelerationStructure¶
Copies the acceleration structure from into the acceleration structure to.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Copies the acceleration structure from into the acceleration structure to.
[[dllimport, dllexport]] virtual void copyAccelerationStructure(
VulkanBottomLevelAccelerationStructure const& from,
VulkanBottomLevelAccelerationStructure const& to,
bool compress = false) const noexcept override;
Copies the acceleration structure from into the acceleration structure to.
[[dllimport, dllexport]] virtual void copyAccelerationStructure(
VulkanTopLevelAccelerationStructure const& from,
VulkanTopLevelAccelerationStructure const& to,
bool compress = false) const noexcept override;
Copies the acceleration structure from into the acceleration structure to.
[[dllimport]] virtual void copyAccelerationStructure(
bottom_level_acceleration_structure_type const& from,
bottom_level_acceleration_structure_type const& to,
bool compress = false) const noexcept = 0;
Copies the acceleration structure from into the acceleration structure to.
[[dllimport]] virtual void copyAccelerationStructure(
top_level_acceleration_structure_type const& from,
top_level_acceleration_structure_type const& to,
bool compress = false) const noexcept = 0;
Parameters¶
| Name | Description |
|---|---|
| from | The source acceleration structure to copy from. |
| to | The destination acceleration structure to copy to. |
| compress | If set to true, the acceleration structure will be compressed. |