Skip to content

LiteFX::Rendering::Backends::VulkanDevice::buildRayTracingPipeline

Returns a builder for a RayTracingPipeline.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Returns a builder for a RayTracingPipeline.

[[dllimport, nodiscard, dllexport]] virtual VulkanRayTracingPipelineBuilder buildRayTracingPipeline(ShaderRecordCollection&& shaderRecords) const override;

» more...

Returns a builder for a RayTracingPipeline.

[[dllimport, nodiscard, dllexport]] virtual VulkanRayTracingPipelineBuilder buildRayTracingPipeline(
    String const& name,
    ShaderRecordCollection&& shaderRecords) const override;

» 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.