Skip to content

LiteFX::Rendering::Backends::DirectX12BottomLevelAccelerationStructure::remove

Removes a triangle mesh from the acceleration structure.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual bool remove(TriangleMesh const& mesh) noexcept override;

Return Value

true, if the triangle mesh was removed, otherwise false.

Parameters

NameDescription
meshThe triangle mesh to remove from the acceleration structure.