Diligent::RayTracingPipelineDesc struct

This structure describes the ray tracing pipeline state and is part of the RayTracingPipelineStateCreateInfo structure.

Contents

Public variables

Uint16 ShaderRecordSize
Size of the additional data passed to the shader. Shader record size plus shader group size (32 bytes) must be aligned to 32 bytes. Shader record size plus shader group size (32 bytes) must not exceed 4096 bytes.
Uint8 MaxRecursionDepth
Number of recursive calls of TraceRay() in HLSL or traceRay() in GLSL. Zero means no tracing of rays at all, only ray-gen shader will be executed. See DeviceProperties::MaxRayTracingRecursionDepth.