Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainRenderer module · member function

UOrreryTerrainStatsLibrary::

StartGpuCostMeasure

Blueprint

Measure what the terrain costs on the GPU: hide the far field, then the whole terrain, about two seconds each, and show them again.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Stats", meta=(WorldContext="WorldContextObject"))
static bool StartGpuCostMeasure(const UObject* WorldContextObject);
Blueprint Start Gpu Cost Measure
The graph as text
  1. Start Gpu Cost Measure (function call)
    • Out Return Value (Boolean): not connected
Header
#include "OrreryTerrainStats.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainRenderer"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread. (the rule of UOrreryTerrainStatsLibrary)
Blueprint
Start Gpu Cost Measure, in Orrery › Terrain › Stats

Description

At under 60 fps it takes longer. The result stays on the panel and includes everything the hidden parts cost: base pass, shadows, Lumen, RVT reads. The terrain visibly disappears meanwhile. Shows the panel if it is off.

Parameters

NameTypeDefaultMeaning
WorldContextObjectconst UObject*——

Returns

false when a measurement already runs or the context's world has no terrain renderer.