LiteFX::Rendering::DescriptorBinding::accelerationStructure¶
Creates a descriptor binding for an acceleration structure.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
[[dllimport, nodiscard, dllexport]] constexpr static DescriptorBinding accelerationStructure(IAccelerationStructure const& accelerationStructure) noexcept;Return Value¶
The descriptor binding.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| accelerationStructure | The acceleration structure to bind. |