Skip to content

LiteFX::Rendering::GraphicsDevice::buildRayTracingPipeline

Returns a builder for a RayTracingPipeline.

Synopses

Declared in <litefx/rendering.hpp>

Returns a builder for a RayTracingPipeline.

[[nodiscard]] virtual ray_tracing_pipeline_builder_type buildRayTracingPipeline(ShaderRecordCollection&& shaderRecords) const = 0;

» more...

Returns a builder for a RayTracingPipeline.

[[nodiscard]] virtual ray_tracing_pipeline_builder_type buildRayTracingPipeline(
    String const& name,
    ShaderRecordCollection&& shaderRecords) const = 0;

» more...

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.
nameThe name of the ray-tracing pipeline.