LiteFX::Rendering::Backends::DirectX12GraphicsFactory::createBottomLevelAccelerationStructure¶
Creates a bottom-level acceleration structure.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual UniquePtr<DirectX12BottomLevelAccelerationStructure> createBottomLevelAccelerationStructure(
StringView name,
AccelerationStructureFlags flags = AccelerationStructureFlags::None) const override;
Description¶
This method is only supported if the GraphicsDeviceFeatures::RayTracing feature is enabled.
Return Value¶
The bottom-level acceleration structure instance.
Parameters¶
| Name | Description |
|---|---|
| name | The name of the acceleration structure resource. |
| flags | The flags that define how the acceleration structure is built. |
See Also¶
IBottomLevelAccelerationStructure