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;
Returns a builder for a RayTracingPipeline.
[[dllimport, nodiscard, dllexport]] virtual VulkanRayTracingPipelineBuilder buildRayTracingPipeline(
String const& name,
ShaderRecordCollection&& shaderRecords) const override;
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 |
|---|---|
| shaderRecords | The shader record collection that is used to build the shader binding table for the pipeline. |
| name | The name of the ray-tracing pipeline. |