UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PostProcessSelectionOutline.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#if WITH_EDITOR
6
7
#include "
ScreenPass.h
"
8
#include "
OverridePassSequence.h
"
9
#include "
PostProcess/LensDistortion.h
"
10
11
class
FSceneUniformBuffer
;
12
namespace
Nanite
13
{
14
struct
FRasterResults;
15
}
16
17
struct
FSelectionOutlineInputs
18
{
19
// [Optional] Render to the specified output. If invalid, a new texture is created and returned.
20
FScreenPassRenderTarget
OverrideOutput;
21
22
// [Required] The scene color to composite with selection outlines.
23
FScreenPassTexture
SceneColor
;
24
25
// [Required] The scene depth to composite with selection outlines.
26
FScreenPassTexture
SceneDepth
;
27
28
// [Required] Used when scene textures are required by the material.
29
FSceneTextureShaderParameters
SceneTextures;
30
31
// [Optional] Lens distortion applied on the scene color.
32
FLensDistortionLUT
LensDistortionLUT;
33
};
34
35
FScreenPassTexture
AddSelectionOutlinePass
(
36
FRDGBuilder
& GraphBuilder,
37
const
FViewInfo
& View,
38
FSceneUniformBuffer
&SceneUniformBuffer,
39
const
FSelectionOutlineInputs
& Inputs,
40
const
Nanite::FRasterResults
*
NaniteRasterResults
,
41
FRDGTextureRef
&
DepthStencilTexture
);
42
43
#endif
EARSessionTrackingFeature::SceneDepth
@ SceneDepth
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
LensDistortion.h
OverridePassSequence.h
ELumenScreenTracingSource::SceneColor
@ SceneColor
ScreenPass.h
FRDGBuilder
Definition
RenderGraphBuilder.h:49
FRDGTexture
Definition
RenderGraphResources.h:571
FSceneUniformBuffer
Definition
SceneUniformBuffer.h:137
FViewInfo
Definition
SceneRendering.h:1132
Nanite
Definition
SkinnedMeshComponent.h:50
FLensDistortionLUT
Definition
LensDistortion.h:8
FScreenPassRenderTarget
Definition
ScreenPass.h:83
FScreenPassTexture
Definition
ScreenPass.h:41
Nanite::FRasterResults
Definition
NaniteCullRaster.h:86
Engine
Source
Runtime
Renderer
Private
PostProcess
PostProcessSelectionOutline.h
Generated by
1.9.8