Skip to content

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

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

Synopsis

Declared in <litefx/backends/vulkan.hpp>

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