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¶
| Name | Thrown on |
|---|---|
RuntimeException | Thrown, if the acceleration structure already contains bounding boxes. |
Parameters¶
| Name | Description |
|---|---|
| mesh | The triangle mesh to add to the BLAS. |