Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainBake::

ComposeStore

Editor only

Compose Source with Authoring's payload into OutStore, which must be empty and not Source.

Declaration

static bool ComposeStore(const UOrreryTerrainSourceAsset& Source, const UOrreryTerrainAuthoringData& Authoring,
                         const FOrreryTerrainBakeOptions& Options, UOrreryTerrainTileStoreAsset& OutStore,
                         FOrreryTerrainBakeReport& OutReport);
Header
#include "Authoring/OrreryTerrainBake.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread (ParallelFor inside).

Description

Changes nothing else.

Parameters

NameTypeDefaultMeaning
Sourceconst UOrreryTerrainSourceAsset&—

The natural ground the payload was saved over.

Authoringconst UOrreryTerrainAuthoringData&—

The payload to fold in.

Optionsconst FOrreryTerrainBakeOptions&—

Banding and workers; bSave is ignored.

OutStoreUOrreryTerrainTileStoreAsset&—

Receives the grid (Source's origin, the edit cell, subdivision 1), the tiles, the provenance.

OutReportFOrreryTerrainBakeReport&—

Counts, precision and hashes, or why it refused. StorePath and the paths are left to the caller.

Returns

false, with OutReport.Error set, when the payload does not load over Source, a tile does not compose exactly, or the store cannot be built or opened. OutStore is untouched unless the failure came after it was written (the built store does not open); the caller discards it.

Note.

Game thread (ParallelFor inside). Deterministic: the same input gives byte-identical stores.