Skip to content

LiteFX::Rendering::GraphicsDevice::buildRayTracingPipeline

Returns a builder for a RayTracingPipeline.

Synopsis

Declared in <litefx/rendering.hpp>

[[nodiscard]] virtual ray_tracing_pipeline_builder_type buildRayTracingPipeline(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

NameDescription
shaderRecordsThe shader record collection that is used to build the shader binding table for the pipeline.