FRayGenShaderUtils

All utils for ray generation shaders.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

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

Include

#include "RayGenShaderUtils.h"

Syntax

struct FRayGenShaderUtils

Remarks

All utils for ray generation shaders.

Functions

Name Description

Public function Static

void

 

AddRayTraceDispatchPass

(
    FRDGBuilder& GraphBuilder,
    FRDGEventName&& PassName,
    const TShaderRef< TShaderClass >& ...,
    typename TShaderClass::FParameters ...,
    FIntPoint Resolution
)

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