UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NaniteComposition.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "NaniteShared.h"
6
7extern bool UseComputeDepthExport();
8
10
11namespace Nanite
12{
13
14struct FRasterContext;
15struct FRasterResults;
16
25
26void EmitDepthTargets(
27 FRDGBuilder& GraphBuilder,
28 const FScene& Scene,
29 const FViewInfo& View,
35);
36
37FCustomDepthContext InitCustomDepthStencilContext(
38 FRDGBuilder& GraphBuilder,
41);
42
43void EmitCustomDepthStencilTargets(
44 FRDGBuilder& GraphBuilder,
45 const FScene& Scene,
46 const FViewInfo& View,
48 const FIntVector4& PageConstants,
49 FRDGBufferRef VisibleClustersSWHW,
50 FRDGBufferRef ViewsBuffer,
51 FRDGTextureRef VisBuffer64,
53);
54
55void FinalizeCustomDepthStencil(
56 FRDGBuilder& GraphBuilder,
59);
60
61void MarkSceneStencilRects(
62 FRDGBuilder& GraphBuilder,
63 const FRasterContext& RasterContext,
66 FIntPoint ViewportSize,
69 FRDGTextureRef DepthAtlasTexture
70);
71
72void EmitSceneDepthRects(
73 FRDGBuilder& GraphBuilder,
74 const FRasterContext& RasterContext,
77 FIntPoint ViewportSize,
80 FRDGTextureRef DepthAtlasTexture
81);
82
83}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool UseComputeDepthExport()
Definition NaniteShared.cpp:474
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition RenderGraphResources.h:1426
Definition RenderGraphResources.h:1321
Definition RenderGraphBuilder.h:49
Definition RenderGraphResources.h:839
Definition RenderGraphResources.h:571
Definition ScenePrivate.h:2875
Definition SceneRendering.h:1132
Definition SkinnedMeshComponent.h:50
Definition CustomDepthRendering.h:23
Definition NaniteComposition.h:18
FRDGTextureRef StencilTarget
Definition NaniteComposition.h:22
bool bComputeExport
Definition NaniteComposition.h:23
FRDGTextureRef InputDepth
Definition NaniteComposition.h:19
FRDGTextureSRVRef InputStencilSRV
Definition NaniteComposition.h:20
FRDGTextureRef DepthTarget
Definition NaniteComposition.h:21
Definition NaniteCullRaster.h:66
Definition NaniteCullRaster.h:86
Definition IntPoint.h:25