Skip to content

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

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

Synopses

Declared in <litefx/backends/dx12.hpp>

Copy constructor

DirectX12TopLevelAccelerationStructure(DirectX12TopLevelAccelerationStructure const& other) = delete;

» more...

Move constructor

[[dllimport, dllexport]] DirectX12TopLevelAccelerationStructure(DirectX12TopLevelAccelerationStructure&& other) noexcept;

» more...

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

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

» more...

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