LiteFX::Rendering::Backends::VulkanGraphicsFactory::createTopLevelAccelerationStructure¶
Creates a top-level acceleration structure.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[dllimport]] virtual UniquePtr<VulkanTopLevelAccelerationStructure> createTopLevelAccelerationStructure(
StringView name,
AccelerationStructureFlags flags) const = 0;
Description¶
This method is only supported if the GraphicsDeviceFeatures::RayTracing feature is enabled.
Return Value¶
The top-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¶
ITopLevelAccelerationStructure