Skip to content

LiteFX::Rendering::Backends::DirectX12RayTracingPipeline::DirectX12RayTracingPipeline

Initializes a new DirectX 12 ray-tracing pipeline.

Synopses

Declared in <litefx/backends/dx12.hpp>

Copy constructor

DirectX12RayTracingPipeline(DirectX12RayTracingPipeline const& other) = delete;

» more...

Move constructor

[[dllimport, dllexport]] DirectX12RayTracingPipeline(DirectX12RayTracingPipeline&& other) noexcept;

» more...

Initializes a new DirectX 12 ray-tracing pipeline.

[[dllimport, dllexport]] explicit DirectX12RayTracingPipeline(
    DirectX12Device const& device,
    SharedPtr<DirectX12PipelineLayout> const& layout,
    SharedPtr<DirectX12ShaderProgram> const& shaderProgram,
    ShaderRecordCollection&& shaderRecords,
    UInt32 maxRecursionDepth = 10,
    UInt32 maxPayloadSize = 0,
    UInt32 maxAttributeSize = 32,
    String const& name = "");

» more...

Parameters

NameDescription
deviceThe parent device.
layoutThe layout of the pipeline.
shaderProgramThe shader program used by this pipeline.
shaderRecordsThe shader record collection that is used to build the shader binding table for the pipeline.
maxRecursionDepthThe maximum number of ray bounces.
maxPayloadSizeThe maximum size for ray payloads in the pipeline.
maxAttributeSizeThe maximum size for ray attributes in the pipeline.
nameThe optional debug name of the ray-tracing pipeline.