Skip to content

LiteFX::Rendering::RayTracingPipeline

Represents a ray-tracing Pipeline.

Synopsis

Declared in <litefx/rendering.hpp>

template<
    typename TPipelineLayout,
    typename TShaderProgram>
class RayTracingPipeline
    : public IRayTracingPipeline
    , public virtual Pipeline<TPipelineLayout, TShaderProgram>

Base Classes

NameDescription
IRayTracingPipelineThe interface for a ray tracing pipeline.
Pipeline<TPipelineLayout, TShaderProgram>Represents a pipeline state.

Type Aliases

Member Functions

NameDescription
~RayTracingPipeline [destructor] [virtual]Destructor
allocateShaderBindingTable [virtual]Allocates a buffer that contains the shader binding table containing the shader groups specified by the groups parameter.
layout Returns the layout of the render pipeline.
maxAttributeSize [virtual]Returns the maximum size of a single ray attribute.
maxPayloadSize [virtual]Returns the maximum size of a single ray payload.
maxRecursionDepth [virtual]Returns the maximum number of ray bounces.
name [virtual]Returns the name of the resource.
program Returns the shader program used by the pipeline.
shaderRecords [virtual]Returns the shader record collection of the ray tracing pipeline.

Protected Member Functions

NameDescription
RayTracingPipeline [constructor]Constructors
operator= Assignment operators
name Returns the name of the resource.

Derived Classes

NameDescription
DirectX12RayTracingPipeline Implements a DirectX 12 RayTracingPipeline.
VulkanRayTracingPipeline Implements a Vulkan RayTracingPipeline.

Template Parameters

NameDescription
TPipelineLayoutThe type of the render pipeline layout. Must implement PipelineLayout.
TShaderProgramThe type of the shader program. Must implement ShaderProgram.

See Also

RayTracingPipelineBuilder