Skip to content

LiteFX::Rendering::ICommandBuffer::copyAccelerationStructure

Copies the acceleration structure from into the acceleration structure to.

Synopses

Declared in <litefx/rendering_api.hpp>

Copies the acceleration structure from into the acceleration structure to.

[[dllimport, dllexport]] void copyAccelerationStructure(
    IBottomLevelAccelerationStructure const& from,
    IBottomLevelAccelerationStructure const& to,
    bool compress = false) const noexcept;

» more...

Copies the acceleration structure from into the acceleration structure to.

[[dllimport, dllexport]] void copyAccelerationStructure(
    ITopLevelAccelerationStructure const& from,
    ITopLevelAccelerationStructure const& to,
    bool compress = false) const noexcept;

» 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.