FRayGenShaderUtils::AddRayTraceDispatchPass

Dispatch a ray generation shader to render graph builder with its parameters.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/RayGenShaderUtils.h

Include

#include "RayGenShaderUtils.h"

Syntax

template<typename TShaderClass>
static void AddRayTraceDispatchPass
(
    FRDGBuilder & GraphBuilder,
    FRDGEventName && PassName,
    const TShaderRef< TShaderClass > & RayGenerationShader,
    typename TShaderClass::FParameters * Parameters,
    FIntPoint Resolution
)

Remarks

Dispatch a ray generation shader to render graph builder with its parameters.