UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PostProcessSubsurface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "ScreenPass.h"
7
8// Returns whether subsurface scattering is globally enabled.
10
11// Returns whether subsurface scattering is required for the provided view.
13
14// Returns whether checkerboard rendering is enabled for the provided format.
16
18
20{
21 // [Optional] Render to the specified output. If invalid, a new texture is created and returned.
23
24 // [Required] The scene color to composite with the visualization.
26
27 // [Required] The scene textures used to visualize shading models.
29};
30
32
34 FRDGBuilder& GraphBuilder,
35 FSceneTextures& SceneTextures,
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EPixelFormat
Definition PixelFormat.h:16
bool IsSubsurfaceEnabled()
Definition PostProcessSubsurface.cpp:303
bool IsSubsurfaceCheckerboardFormat(EPixelFormat SceneColorFormat, const FViewInfo &View)
Definition PostProcessSubsurface.cpp:345
void AddSubsurfacePass(FRDGBuilder &GraphBuilder, FSceneTextures &SceneTextures, TArrayView< const FViewInfo > Views)
Definition PostProcessSubsurface.cpp:1625
FScreenPassTexture AddVisualizeSubsurfacePass(FRDGBuilder &GraphBuilder, const FViewInfo &View, const FVisualizeSubsurfaceInputs &Inputs)
Definition PostProcessSubsurface.cpp:1574
bool IsSubsurfaceRequiredForView(const FViewInfo &View)
Definition PostProcessSubsurface.cpp:310
Definition RenderGraphBuilder.h:49
Definition SceneRendering.h:1132
Definition ArrayView.h:139
Definition RenderGraphResources.h:251
Definition SceneTextures.h:110
Definition ScreenPass.h:83
Definition ScreenPass.h:41
Definition PostProcessSubsurface.h:20
TRDGUniformBufferRef< FSceneTextureUniformParameters > SceneTextures
Definition PostProcessSubsurface.h:28
FScreenPassTexture SceneColor
Definition PostProcessSubsurface.h:25
FScreenPassRenderTarget OverrideOutput
Definition PostProcessSubsurface.h:22