LiteFX::Rendering::GraphicsFactory::createBottomLevelAccelerationStructure¶
Creates a bottom-level acceleration structure.
Synopses¶
Declared in <litefx/rendering.hpp>
Creates a bottom-level acceleration structure.
UniquePtr<TBLAS> createBottomLevelAccelerationStructure(AccelerationStructureFlags flags) const;
Creates a bottom-level acceleration structure.
[[dllimport, dllexport]] UniquePtr<IBottomLevelAccelerationStructure> createBottomLevelAccelerationStructure(AccelerationStructureFlags flags = AccelerationStructureFlags::None) const;
Creates a bottom-level acceleration structure.
virtual UniquePtr<TBLAS> createBottomLevelAccelerationStructure(
StringView name,
AccelerationStructureFlags flags) const = 0;
Creates a bottom-level acceleration structure.
[[dllimport, dllexport]] UniquePtr<IBottomLevelAccelerationStructure> createBottomLevelAccelerationStructure(
StringView name,
AccelerationStructureFlags flags = AccelerationStructureFlags::None) const;
Return Value¶
The bottom-level acceleration structure instance.
Parameters¶
| Name | Description |
|---|---|
| flags | The flags that define how the acceleration structure is built. |
| name | The name of the acceleration structure resource. |
See Also¶
IBottomLevelAccelerationStructure