LiteFX::Rendering::Backends::VulkanDevice::buildRayTracingPipeline¶
Returns a builder for a RayTracingPipeline.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, nodiscard, dllexport]] virtual VulkanRayTracingPipelineBuilder buildRayTracingPipeline(ShaderRecordCollection&& shaderRecords) const override;
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 |
|---|---|
| shaderRecords | The shader record collection that is used to build the shader binding table for the pipeline. |