LiteFX::Rendering::ITopLevelAccelerationStructure::withInstance¶
Adds an instance to the current TLAS.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
template<typename TSelf>
TSelf&& withInstance(this
TSelf&& self,
Instance const& instance) noexcept;
Return Value¶
A reference to the current TLAS.
Parameters¶
| Name | Description |
|---|---|
| instance | The instance to add to the TLAS. |