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