FRayTracingPipelineStateInitializer::SetHitGroupTable

Shaders that will be invoked when ray intersects geometry.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/RHIResources.h

Include

#include "RHIResources.h"

Syntax

void SetHitGroupTable
(
    const TArrayView< FRHIRayTracingShader * > & InHitGroups,
    uint64 Hash
)

Remarks

Shaders that will be invoked when ray intersects geometry. If this table is empty, then a built-in default shader will be used for all geometry, using FDefaultPayload.

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