Skip to content

LiteFX::Rendering::Backends::DirectX12TopLevelAccelerationStructure::DirectX12TopLevelAccelerationStructure

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

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] explicit DirectX12TopLevelAccelerationStructure(
    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