Navigation
API > API/Runtime > API/Runtime/Landscape
References
| Module | Landscape |
| Header | /Engine/Source/Runtime/Landscape/Public/LandscapeRender.h |
| Include | #include "LandscapeRender.h" |
Syntax
struct FLandscapeRenderSystem
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FViewKey, TResourceArray< float > > | CachedSectionLODValues | ||
| FVector | ComponentOrigin | ||
| int32 | ComponentResolution | Resolution, Origin and Size, for use in LOD Groups to verify that all landscapes are of matching resolutions, orientation and scale. | |
| FVector | ComponentXVector | ||
| FVector | ComponentYVector | ||
| int8 | ForcedLODOverride | Forced LOD level which overrides the ForcedLOD level of all the sections under this LandscapeRenderSystem. | |
| int32 | LandscapeIndex | ||
| FIntPoint | Min | ||
| int32 | ReferenceCount | ||
| TArray< FLandscapeSectionInfo * > | SectionInfos | ||
| FBufferRHIRef | SectionLODBiasBuffer | ||
| TResourceArray< float > | SectionLODBiases | ||
| FShaderResourceViewRHIRef | SectionLODBiasSRV | ||
| FUniformBufferRHIRef | SectionLODUniformBuffer | ||
| int32 | SectionsRemovedSinceLastCompact | Counter used to reduce how often we call compact on the map when removing sections. | |
| FIntPoint | Size |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AnySectionsInRangeInclusive
(
FIntPoint RangeMin, |
||
| void | CompactMap () |
||
| const TResourceArray< float > & | ComputeSectionsLODForView
(
const FSceneView& InView |
||
| void | CreateResources
(
FLandscapeSectionInfo* SectionInfo |
||
| void | DestroyResources
(
FLandscapeSectionInfo* SectionInfo |
||
| void | |||
| int8 | GetLODFromScreenSize
(
LODSettingsComponent LODSettings, |
||
| FLandscapeSectionInfo * | GetSectionInfo
(
FIntPoint InRenderCoord |
||
| int32 | GetSectionLinearIndex
(
FIntPoint InRenderCoord |
||
| float | GetSectionLODBias
(
FIntPoint InRenderCoord |
||
| float | GetSectionLODValue
(
const FSceneView& SceneView, |
||
| bool | IsValidCoord
(
FIntPoint InRenderCoord |
||
| void | RegisterSection
(
FLandscapeSectionInfo* SectionInfo |
||
| void | ResizeAndMoveTo
(
FIntPoint NewMin, |
||
| void | ResizeToInclude
(
const FIntPoint& NewCoord |
||
| void | SetSectionInfo
(
FIntPoint InRenderCoord, |
||
| void | UnregisterSection
(
FLandscapeSectionInfo* SectionInfo |
||
| void | UpdateBuffers
(
FRHICommandListBase& RHICmdList |
Classes
| Type | Name | Description | |
|---|---|---|---|
| LODSettingsComponent |
Typedefs
| Name | Description |
|---|---|
| FViewKey |
Constants
| Name | Description |
|---|---|
| LandscapeIndexAllocator |