Skip to content

LiteFX::Rendering::IGraphicsFactory::createBottomLevelAccelerationStructure

Creates a bottom-level acceleration structure.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] UniquePtr<IBottomLevelAccelerationStructure> createBottomLevelAccelerationStructure(
    StringView name,
    AccelerationStructureFlags flags = AccelerationStructureFlags::None) const;

Description

This method is only supported if the GraphicsDeviceFeatures::RayTracing feature is enabled.

Return Value

The bottom-level acceleration structure instance.

Parameters

NameDescription
nameThe name of the acceleration structure resource.
flagsThe flags that define how the acceleration structure is built.

See Also

IBottomLevelAccelerationStructure