UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
RendererUtils.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "GlobalShader.h"
8#include "HAL/Platform.h"
9#include "RHIDefinitions.h"
10#include "RenderGraph.h"
13#include "RenderGraphFwd.h"
14
16class FScene;
18class FRDGBuilder;
20class FScene;
22template <typename ReferencedType> class TRefCountPtr;
23
43
45{
46public:
47
49 {
50 float MinDepth;
51 float MaxDepth;
52 };
53
55};
56
57// A minimal uniform struct providing necessary access for external systems to Substrate parameters.
59
60namespace Substrate
61{
62 void PreInitViews(FScene& Scene);
63 void PostRender(FScene& Scene);
64
66}
67
68// A minimal uniform struct providing necessary access for external systems to Nanite Ray Tracing parameters.
70
71namespace Nanite
72{
73 RENDERER_API TRDGUniformBufferRef<FNaniteRayTracingUniformParameters> GetPublicGlobalRayTracingUniformBuffer();
74}
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ETextureCreateFlags
Definition RHIDefinitions.h:1091
#define DECLARE_UNIFORM_BUFFER_STRUCT(StructTypeName, PrefixKeywords)
Definition ShaderParameterStructDeclaration.h:10
Definition RendererUtils.h:45
static RENDERER_API FDepthBoundsValues CalculateNearFarDepthExcludingSky()
Definition RendererUtils.cpp:198
Definition GlobalShader.h:173
Definition RenderGraphBuilder.h:49
Definition RenderGraphResources.h:571
Definition RHICommandList.h:4626
Definition RendererUtils.h:25
static RENDERER_API void Decode(FRHICommandListImmediate &RHICmdList, FGlobalShaderMap *ShaderMap, TArrayView< IPooledRenderTarget *const > InRenderTargets, TRefCountPtr< IPooledRenderTarget > &OutRTWriteMask, ETextureCreateFlags RTWriteMaskFastVRamConfig, const TCHAR *RTWriteMaskDebugName)
Definition RendererUtils.cpp:101
Definition ScenePrivate.h:2875
Definition ArrayView.h:139
Definition RenderGraphResources.h:251
Definition RefCounting.h:454
Definition SkinnedMeshComponent.h:50
Definition RenderUtils.cpp:2080
Definition RendererUtils.h:49
float MaxDepth
Definition RendererUtils.h:51
float MinDepth
Definition RendererUtils.h:50
Definition Substrate.h:92
Definition RendererInterface.h:494