LiteFX::Rendering::CommandBuffer::copyAccelerationStructure¶
Copies the acceleration structure from into the acceleration structure to.
Synopses¶
Declared in <litefx/rendering.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;
Copies the acceleration structure from into the acceleration structure to.
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.
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. |