Skip to content

LiteFX::Rendering::IBottomLevelAccelerationStructure::addTriangleMesh

Adds a triangle mesh to the BLAS.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void addTriangleMesh(TriangleMesh const& mesh) = 0;

Exceptions

NameThrown on
RuntimeExceptionThrown, if the acceleration structure already contains bounding boxes.

Parameters

NameDescription
meshThe triangle mesh to add to the BLAS.