LiteFX::Rendering::DescriptorSetLayoutBuilder::withAccelerationStructure¶
Adds a ray-tracing acceleration structure.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withAccelerationStructure(this
TSelf&& self,
UInt32 binding);
Description¶
This method is only supported, if the GraphicsDeviceFeatures::RayTracing feature is enabled.
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| binding | The binding point or register index of the descriptor. |