UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Nanite.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
#include "
NaniteCullRaster.h
"
7
#include "
NaniteDrawList.h
"
8
#include "
NaniteMaterials.h
"
9
#include "
NaniteVisualize.h
"
10
#if WITH_EDITOR
11
#include "
NaniteEditor.h
"
12
#endif
13
14
namespace
Nanite
15
{
16
17
struct
FShadeBinning;
18
19
void
ExtractShadingDebug(
20
FRDGBuilder
& GraphBuilder,
21
const
FViewInfo
& View,
22
const
FShadeBinning& ShadeBinning,
23
uint32
NumShadingBins
24
);
25
26
void
PrintStats(
27
FRDGBuilder
& GraphBuilder,
28
const
FViewInfo
& View
29
);
30
31
void
EmitShadowMap(
32
FRDGBuilder
& GraphBuilder,
33
const
FSharedContext& SharedContext,
34
const
FRasterContext& RasterContext,
35
const
FRDGTextureRef
DepthBuffer,
36
const
FIntRect
&
SourceRect
,
37
const
FIntPoint
DestOrigin
,
38
const
FMatrix
& ProjectionMatrix,
39
float
DepthBias,
40
bool
bOrtho
41
);
42
43
void
EmitCubemapShadow(
44
FRDGBuilder
& GraphBuilder,
45
const
FSharedContext& SharedContext,
46
const
FRasterContext& RasterContext,
47
const
FRDGTextureRef
CubemapDepthBuffer
,
48
const
FIntRect
& ViewRect,
49
uint32
CubemapFaceIndex
,
50
bool
bUseGeometryShader
51
);
52
53
}
// namespace Nanite
54
StaticCastSharedRef
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition
SharedPointer.h:127
NaniteCullRaster.h
NaniteDrawList.h
NaniteEditor.h
NaniteMaterials.h
NaniteShared.h
NaniteVisualize.h
uint32
uint32_t uint32
Definition
binka_ue_file_header.h:6
FRDGBuilder
Definition
RenderGraphBuilder.h:49
FRDGTexture
Definition
RenderGraphResources.h:571
FViewInfo
Definition
SceneRendering.h:1132
Nanite
Definition
SkinnedMeshComponent.h:50
UE::Math::TIntPoint
Definition
IntPoint.h:25
UE::Math::TIntRect< int32 >
UE::Math::TMatrix< double >
Engine
Source
Runtime
Renderer
Private
Nanite
Nanite.h
Generated by
1.9.8