Skip to content

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;

» more...

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;

» more...

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;

» more...

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;

» more...

Parameters

NameDescription
fromThe source acceleration structure to copy from.
toThe destination acceleration structure to copy to.
compressIf set to true, the acceleration structure will be compressed.