Skip to content

LiteFX::Rendering::IBottomLevelAccelerationStructure::remove

remove overloads

Synopses

Declared in <litefx/rendering_api.hpp>

Removes a bounding box set from the acceleration structure.

[[dllimport, dllexport]] virtual bool remove(BoundingBoxes const& aabb) noexcept = 0;

» more...

Removes a triangle mesh from the acceleration structure.

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

» more...

Return Value

  • true, if the bounding box set was removed, otherwise false.
  • true, if the triangle mesh was removed, otherwise false.

Parameters

NameDescription
aabbThe bounding box set to remove from the acceleration structure.
meshThe triangle mesh to remove from the acceleration structure.