UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StochasticLighting.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6#include "RenderGraphFwd.h"
8
9class FViewInfo;
10class FSceneViewState;
12enum class EReflectionsMethod;
13
14namespace StochasticLighting
15{
16 enum class EMaterialSource
17 {
18 GBuffer,
21 MAX
22 };
23
32
34
36
51
80}
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EReflectionsMethod
Definition DeferredShadingRenderer.h:307
ERDGPassFlags
Definition RenderGraphDefinitions.h:128
Definition RenderGraphBuilder.h:49
Definition RenderGraphResources.h:905
Definition ScenePrivate.h:746
Definition SceneRendering.h:1132
Definition MegaLights.h:23
EMaterialSource
Definition StochasticLighting.h:17
EStochasticSampleOffset
Definition StochasticLighting.h:25
bool IsStateFrameIndexOverridden()
Definition StochasticLighting.cpp:33
int32 GetStateFrameIndex(const FSceneViewState *ViewState)
Definition StochasticLighting.cpp:23
Definition SceneTextures.h:52
Definition StochasticLighting.h:53
FRDGTextureUAVRef DownsampledWorldNormal2x2UAV
Definition StochasticLighting.h:63
FRDGTextureUAVRef DownsampledSceneDepth2x1UAV
Definition StochasticLighting.h:60
const FMinimalSceneTextures & SceneTextures
Definition StochasticLighting.h:55
const FLumenFrontLayerTranslucencyGBufferParameters & FrontLayerTranslucencyGBuffer
Definition StochasticLighting.h:56
FRDGBuilder & GraphBuilder
Definition StochasticLighting.h:54
FRDGTextureUAVRef LumenTileBitmaskUAV
Definition StochasticLighting.h:64
FRDGTextureUAVRef MegaLightsTileBitmaskUAV
Definition StochasticLighting.h:65
FRDGTextureUAVRef LumenPackedPixelDataUAV
Definition StochasticLighting.h:67
FRDGTextureUAVRef MegaLightsPackedPixelDataUAV
Definition StochasticLighting.h:68
void Validate(const FRunConfig &RunConfig) const
Definition StochasticLighting.cpp:216
FRDGTextureUAVRef DownsampledSceneDepth2x2UAV
Definition StochasticLighting.h:62
StochasticLighting::EMaterialSource MaterialSource
Definition StochasticLighting.h:57
FRDGTextureUAVRef NormalHistoryUAV
Definition StochasticLighting.h:59
FRDGTextureUAVRef EncodedReprojectionVectorUAV
Definition StochasticLighting.h:66
FRDGTextureUAVRef DownsampledWorldNormal2x1UAV
Definition StochasticLighting.h:61
void Run(const FViewInfo &View, EReflectionsMethod ViewReflectionsMethod, const FRunConfig &RunConfig)
Definition StochasticLighting.cpp:259
FRDGTextureUAVRef DepthHistoryUAV
Definition StochasticLighting.h:58
Definition StochasticLighting.h:38
int32 StateFrameIndexOverride
Definition StochasticLighting.h:40
bool bDownsampleDepthAndNormal2x2
Definition StochasticLighting.h:44
bool bTileClassifyLumen
Definition StochasticLighting.h:45
bool bSubstrateOverflow
Definition StochasticLighting.h:41
bool bReprojectMegaLights
Definition StochasticLighting.h:49
bool bTileClassifyMegaLights
Definition StochasticLighting.h:46
bool bReprojectLumen
Definition StochasticLighting.h:48
bool bCopyDepthAndNormal
Definition StochasticLighting.h:42
bool bTileClassifySubstrate
Definition StochasticLighting.h:47
bool bDownsampleDepthAndNormal2x1
Definition StochasticLighting.h:43
ERDGPassFlags ComputePassFlags
Definition StochasticLighting.h:39