Home › Engine functions › Terrain

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Terrain

Terrain context, cells and baking.

185 functions in this category, 15 with a Windows address (9 high or medium confidence or exported, 6 low). The rest are in the full search.

Function Windows RVA Confidence How mapped Notes Linux address Size
Terrain::Sampler::GetWorldHeight(FGXVector2, Terrain::SAMPLER_BLOCK_TYPE) const 0xab58c0 medium call-graph propagation 0x38345c0 144
Terrain::DecalRenderer::BuildSurfaceSet(Types::ArrayWrapper<Decal::IDecalSet<Terrain::DecalInstance>*>, Graphics::CommandStream*, Graphics::SurfaceSe… 0xc5d420 medium score-based neighbour propagation (~96% on hold-out) 0x3cb50e2 1196
Terrain::DecalRenderer::DrawRange(Terrain::DecalInstance const*, Terrain::DecalInstance const*, Graphics::CommandStream*, Graphics::SurfaceSet*, Terr… 0xc5d750 medium rare-constant anchor 0x3cb4d54 910
Terrain::DecalVBManager::AddBuffer(unsigned int) 0xc5dc80 medium string anchor 0x3cb4b78 84
Terrain::Cell::BakeCell(Terrain::BaseRenderingData const*, Types::ArrayWrapper<Terrain::MaterialDesc const>, Terrain::Cell::BakeParams const&, Terrai… 0xc5e860 high string anchor 0x3cb05b3 3872
Terrain::Cell::Manager::GetCellStateData(TFGXInt2<int>) 0xc5ff00 high curated (called by RebakeCache in both) 0x3cb2774 20
Terrain::Cell::Manager::GetNumCells() const 0xc5ff20 high curated (called by RebakeCache in both) 0x3cb2756 4
Terrain::InitializeRenderingData(Terrain::BaseRenderingData*, Terrain::BaseRenderingData::Params const&, unsigned int) 0xc60260 high string anchor 0x3cafc1c 1666
Terrain::Cell::Init::BlockInitializer::BuildGeometry(unsigned int) 0xc62200 high string anchor 0x3cb2d44 1374
Low confidence (6, unreliable)
Function Windows RVA How mapped Linux address
Terrain::UpdateGrid::ClearDirtyBits(Terrain::UpdateGrid::DirtyLayer) 0xab6c30 call-graph propagation 0x38354d0
Terrain::ProceduralDecalSet::StartupGame(Decal::DecalSetDesc const&, char const*) 0xc5c1e0 call-graph propagation 0x3cb7036
Terrain::DecalVBManager::BeginFrame() 0xc5d410 call-graph propagation 0x3cb4c0e
Terrain::DecalVBManager::EndFrame(unsigned int) 0xc5dbe0 call-graph propagation 0x3cb4c1c
Terrain::DecalRenderer::SetGlobalsForHandle(unsigned short, Terrain::DecalRenderer::GlobalParams const&, unsi… 0xc5dd40 call-graph propagation 0x3cb4d1a
Terrain::Cell::Manager::GetCellRenderData(TFGXInt2<int>) 0xc5fee0 call-graph propagation 0x3cb275a