LiteFX::Rendering::GraphicsDevice::buildRayTracingPipeline¶
Returns a builder for a RayTracingPipeline.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[nodiscard]] virtual ray_tracing_pipeline_builder_type buildRayTracingPipeline(
String const& name,
ShaderRecordCollection&& shaderRecords) const = 0;
Description¶
This method is only supported if the GraphicsDeviceFeatures::RayTracing feature is enabled.
Return Value¶
An instance of a builder that is used to create a new ray-tracing pipeline.
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| name | The name of the ray-tracing pipeline. |
| shaderRecords | The shader record collection that is used to build the shader binding table for the pipeline. |