Skip to content

LiteFX::Rendering::Backends::DirectX12BottomLevelAccelerationStructure::DirectX12BottomLevelAccelerationStructure

Initializes a new DirectX 12 bottom-level acceleration structure (BLAS).

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] explicit DirectX12BottomLevelAccelerationStructure(
    AccelerationStructureFlags flags = AccelerationStructureFlags::None,
    StringView name = "");

Exceptions

NameThrown on
InvalidArgumentExceptionThrown if the provided flags contain an unsupported combination of flags.

Parameters

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

See Also

AccelerationStructureFlags