FRayGenShaderUtils

All utils for ray generation shaders.

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss