Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainRenderer module · class

Native::

FTerrainGpuMeasure

Steps through the measurement one frame at a time.

Declaration

class FTerrainGpuMeasure
Header
#include "Native/TerrainGpuMeasure.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainRenderer"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.

Description

The caller applies State() to the terrain and feeds one GPU reading per frame.

Note.

One thread at a time. No allocation, no clock: the frame count alone moves it on.

Types

  • EState enum

    What should be shown while the state lasts.

    Idle, Baseline, NoFar, NoTerrain, BaselineAgain

Functions

Properties

NameTypeDefaultMeaning
kHoldFramesint32_t45

Frames ignored after a change: shadow caches, the GPU reading's own lag.

kSampleFramesint32_t60

Frames read per state.