Table of Contents

Interface ITileSnapshotProvider

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

Defines an optional tile capability for capturing persisted state and reconciling snapshot identity.

public interface ITileSnapshotProvider : ITile
Inherited Members
Extension Methods

Remarks

Snapshot data uses the regular BiomeData representation so it can participate in the same blending and population pipeline as generated biome data. The caller owns the returned data and must dispose it when the tile population pass finishes. A tile capture is generation-scoped; callers must finish using one snapshot before starting another capture on the same tile.

Methods

CaptureSnapshot(TransientResourceRegistry, CancellationSignal)

Captures every persisted channel supported by this tile backend.

IsEquivalent(DetailTemplate, DetailTemplate)

Tests whether two detail templates represent the same native detail prototype for this backend. Density is not part of prototype identity.

IsEquivalent(TreeTemplate, TreeTemplate)

Tests whether two tree templates represent the same native tree prototype for this backend.

IsEquivalent(TerrainLayer, TerrainLayer)

Tests whether two terrain layers represent the same native layer for this backend.