Skip to content

LiteFX::Rendering::IBottomLevelAccelerationStructure::addBoundingBox

Adds a buffer containing axis-aligned bounding boxes to the BLAS.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void addBoundingBox(BoundingBoxes const& aabbs) = 0;

Exceptions

NameThrown on
RuntimeExceptionThrown, if the acceleration structure already contains triangle meshes.

Parameters

NameDescription
aabbsThe bounding boxes to add to the BLAS.