UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DistanceFieldLightingPost.h File Reference
#include "CoreMinimal.h"
#include "SceneRendering.h"

Go to the source code of this file.

Functions

void AllocateOrReuseAORenderTarget (FRDGBuilder &GraphBuilder, const FViewInfo &View, FRDGTextureRef &Target, const TCHAR *Name, EPixelFormat Format, ETextureCreateFlags Flags=TexCreate_None)
 
void UpdateHistory (FRDGBuilder &GraphBuilder, const FViewInfo &View, const TCHAR *BentNormalHistoryRTName, const FSceneTextures &SceneTextures, FRDGTextureRef VelocityTexture, FRDGTextureRef BentNormalInterpolation, FRDGTextureRef DistanceFieldNormal, FIntRect *DistanceFieldAOHistoryViewRect, TRefCountPtr< IPooledRenderTarget > *BentNormalHistoryState, FRDGTextureRef &BentNormalHistoryOutput, const FDistanceFieldAOParameters &Parameters)
 
void UpsampleBentNormalAO (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FSceneTextures &SceneTextures, FRDGTextureRef SceneColorTexture, FRDGTextureRef DistanceFieldAOBentNormal, bool bModulateSceneColor, bool bModulateToScreenSpaceAO)
 
void MobileAggregateDFAOToSSAO (FRDGBuilder &GraphBuilder, const FViewInfo &View, const FSceneTextures &SceneTextures, FRDGTextureRef SceneColorTexture, FRDGTextureRef DistanceFieldAOBentNormal)
 

Function Documentation

◆ AllocateOrReuseAORenderTarget()

void AllocateOrReuseAORenderTarget ( FRDGBuilder GraphBuilder,
const FViewInfo View,
FRDGTextureRef Target,
const TCHAR Name,
EPixelFormat  Format,
ETextureCreateFlags  Flags = TexCreate_None 
)
extern

◆ MobileAggregateDFAOToSSAO()

void MobileAggregateDFAOToSSAO ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const FSceneTextures SceneTextures,
FRDGTextureRef  SceneColorTexture,
FRDGTextureRef  DistanceFieldAOBentNormal 
)
extern

◆ UpdateHistory()

void UpdateHistory ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const TCHAR BentNormalHistoryRTName,
const FSceneTextures SceneTextures,
FRDGTextureRef  VelocityTexture,
FRDGTextureRef  BentNormalInterpolation,
FRDGTextureRef  DistanceFieldNormal,
FIntRect DistanceFieldAOHistoryViewRect,
TRefCountPtr< IPooledRenderTarget > *  BentNormalHistoryState,
FRDGTextureRef BentNormalHistoryOutput,
const FDistanceFieldAOParameters Parameters 
)
extern
Parameters
DistanceFieldAOHistoryViewRectContains last frame's history, if non-NULL. This will be updated with the new frame's history.
BentNormalHistoryOutputOutput of Temporal Reprojection for the next step in the pipeline.

◆ UpsampleBentNormalAO()

void UpsampleBentNormalAO ( FRDGBuilder GraphBuilder,
const FViewInfo View,
const FSceneTextures SceneTextures,
FRDGTextureRef  SceneColorTexture,
FRDGTextureRef  DistanceFieldAOBentNormal,
bool  bModulateSceneColor,
bool  bModulateToScreenSpaceAO 
)
extern