Skip to content

LiteFX::Rendering::Backends::VulkanTopLevelAccelerationStructure::remove

Removes an instance from the acceleration structure.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Removes an instance from the acceleration structure.

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

» more...

Removes an instance from the acceleration structure.

[[dllimport, dllexport]] virtual bool remove(Instance const& mesh) noexcept override;

» more...

Return Value

true, if the instance has been removed, otherwise false.

Parameters

NameDescription
instanceThe instance to remove from the acceleration structure.