Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

FTerrainChunkPosts::

GetAllocatedSize

Bytes these posts own: the struct (which holds a tile's block bases, 4 bytes a block), the heights (2 bytes a post; a block of more than 65.535 m of relief adds 2 bytes a post, and then the block table 2 bytes a block), the ground classes and the paint planes made for them alone (FPaintPlaneRefs::OwnedMask).

Declaration

SIZE_T GetAllocatedSize() const;
Header
#include "TerrainChunkPosts.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Built on a task-system worker from an FGroundQuery the game thread acquired; read on any thread afterwards. (the rule of FTerrainChunkPosts)

Description

The planes shared with the world, a channel tile's or a base tile's, are not counted.