LiteFX::Rendering::Backends::VulkanRayTracingPipeline::VulkanRayTracingPipeline¶
Initializes a new Vulkan ray-tracing pipeline.
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Copy constructor
VulkanRayTracingPipeline(VulkanRayTracingPipeline const& other) = delete;
Move constructor
[[dllimport, dllexport]] VulkanRayTracingPipeline(VulkanRayTracingPipeline&& other) noexcept;
Initializes a new Vulkan ray-tracing pipeline.
[[dllimport, dllexport]] explicit VulkanRayTracingPipeline(
VulkanDevice const& device,
SharedPtr<VulkanPipelineLayout> const& layout,
SharedPtr<VulkanShaderProgram> const& shaderProgram,
ShaderRecordCollection&& shaderRecords,
UInt32 maxRecursionDepth = 10,
UInt32 maxPayloadSize = 0,
UInt32 maxAttributeSize = 32,
String const& name = "");
Parameters¶
| Name | Description |
|---|---|
| device | The parent device. |
| layout | The layout of the pipeline. |
| shaderProgram | The shader program used by the pipeline. |
| shaderRecords | The shader record collection that is used to build the shader binding table for the pipeline. |
| maxRecursionDepth | The maximum number of ray bounces. |
| maxPayloadSize | The maximum size for ray payloads in the pipeline. |
| maxAttributeSize | The maximum size for ray attributes in the pipeline. |
| name | The optional debug name of the render pipeline. |