UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LandscapeCulling.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"
6
7class FRHIBuffer;
10namespace ERHIFeatureLevel { enum Type : int; }
12struct FMeshBatch;
14class FSceneView;
15class FRDGBuilder;
16struct FViewMatrices;
18
26namespace UE {
27 namespace Landscape {
28 namespace Culling {
29
37
38 bool UseCulling(EShaderPlatform ShaderPlatform);
39
41
43 void RegisterLandscape(FRHICommandListBase& RHICmdList, FLandscapeSharedBuffers& SharedBuffers, ERHIFeatureLevel::Type FeatureLevel, uint32 LandscapeKey, int32 SubsectionSizeVerts, int32 NumSubsections);
44 void UnregisterLandscape(uint32 LandscapeKey);
45
49 bool GetViewArguments(const FSceneView& View, uint32 LandscapeKey, FIntPoint SectionBase, int32 LODIndex, FArguments& Args);
50 }
51 }
52};
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EShaderPlatform
Definition RHIShaderPlatform.h:11
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition LandscapeRender.h:359
Definition RenderGraphBuilder.h:49
Definition RHIResources.h:1581
Definition RHICommandList.h:455
Definition SceneView.h:2212
Definition SceneView.h:1425
Definition VertexFactory.h:314
Definition Landscape.Build.cs:7
Definition ArrayView.h:139
Definition SceneComponent.h:24
Type
Definition RHIFeatureLevel.h:20
int
Definition TestServer.py:515
void PreRenderViewFamily(FSceneViewFamily &InViewFamily)
Definition LandscapeCulling.cpp:484
void InitShadowViews(FRDGBuilder &GraphBuilder, TArrayView< const FSceneView * > ShadowDepthViews, TArrayView< FViewMatrices > ShadowViewMatrices)
Definition LandscapeCulling.cpp:815
bool GetViewArguments(const FSceneView &View, uint32 LandscapeKey, FIntPoint RenderCoord, int32 LODIndex, FArguments &Args)
Definition LandscapeCulling.cpp:829
bool UseCulling(EShaderPlatform Platform)
Definition LandscapeCulling.cpp:171
void InitMainViews(FRDGBuilder &GraphBuilder, TArrayView< const FSceneView * > Views)
Definition LandscapeCulling.cpp:793
void RegisterLandscape(FRHICommandListBase &RHICmdList, FLandscapeSharedBuffers &SharedBuffers, ERHIFeatureLevel::Type FeatureLevel, uint32 LandscapeKey, int32 SubsectionSizeVerts, int32 NumSubsections)
Definition LandscapeCulling.cpp:538
FVertexFactoryType * GetTileVertexFactoryType()
Definition LandscapeCulling.cpp:184
void UnregisterLandscape(uint32 LandscapeKey)
Definition LandscapeCulling.cpp:566
void SetupMeshBatch(const FLandscapeSharedBuffers &SharedBuffers, FMeshBatch &MeshBatch)
Definition LandscapeCulling.cpp:511
Definition AdvancedWidgetsModule.cpp:13
Definition MeshBatch.h:371
Definition SceneView.h:317
Definition LandscapeCulling.h:31
uint32 IndirectArgsOffset
Definition LandscapeCulling.h:34
FRHIBuffer * TileDataVertexBuffer
Definition LandscapeCulling.h:33
uint32 TileDataOffset
Definition LandscapeCulling.h:35
FRHIBuffer * IndirectArgsBuffer
Definition LandscapeCulling.h:32
Definition IntPoint.h:25