Table of Contents

Namespace Pinwheel.Vista

Classes

AnchorUtilities

Provides polygon-anchor helpers used by Local Procedural Biome authoring.

BiomeBufferCopy

Copies packed biome sample buffers from one bounds space into another by running a compute-shader remap pass.

BiomeData

Container for all generated outputs produced by a biome request or biome-blending pass.

BiomeDataRequest

Asynchronous request handle for biome data generation.

BiomeDataUtilities

Utilities for remapping one BiomeData set into another bounds and resolution space.

BiomeExtensions

Helper extension methods for updating biome state and resolving the owning VistaManager.

BiomeTemplate

A reusable biome preset for the wizard's template gallery. A template is defined at the biome level, not the graph level: it references a biome prefab that captures the whole biome configuration (graph, blend mode, external input, child objects, ...), so it generalizes to any biome type, procedural now and non-procedural later. Selecting it spawns a disconnected, fully editable biome (see BiomeTemplateSpawner).

BiomeTemplateSpawnContext

Passed to OnSpawnedFromBiomeTemplate(BiomeTemplate, BiomeTemplateSpawnContext) during a template spawn. Carries the runtime inputs (the owning VistaManager), acts as the collect sink for objects the biome cloned and now owns, and is the clone authority that keeps one clone per source asset across all receivers in the spawn (see GetOrCreateClone<TObject>(TObject, out bool)).

BiomeTemplateSpawner

Runtime core of a template spawn: instantiate a template's biome prefab as a disconnected clone under a manager, then let each biome in it clone its owned references in memory. No editor dependency, so it works in a build. The editor-side factory wraps this to add persistence, undo, selection, and recents.

BiomeVMConnector
CancellationHandle

Controls cancellation for one operation and exposes its read-only signal to that operation.

CancellationSignal

Read-only cancellation state shared with an operation and its subprocesses.

Collector<T>

Lightweight accumulation container used by Vista collection callbacks and paired runtime data lists.

Constants
CoroutineHandle

Wraps a running Vista coroutine so the same handle shape can be used in editor and play mode.

CoroutineUtility

Starts and stops Vista coroutines through a single API that works in both the Unity editor and play mode.

DetailTemplate
GenerationTask

Yieldable handle representing one Vista Manager generation request.

GraphicsUtils

Provides low-level clearing helpers for render textures and compute buffers.

InstanceBufferParser

Converts Vista instance-sample buffers into Polaris tree and grass instance lists.

LPBAdditionalData
LPBUtilities

Provides helper functions used by Local Procedural Biome mask generation.

LocalAreaUtils

Provides shared operations for IPolygonalArea implementations without owning their serialized data.

LocalProceduralBiome
ModuleManager

Represents module manager.

ObjectTemplate
PositionContainer
ProgressNotifications

Publishes progress for long-running Vista operations without depending on an editor UI.

ProgressiveTask

Coroutine-backed task handle that can be yielded until some Vista process reports completion.

RegionMaskUtilities

Provides focused operations for remapping world-space region masks into another bounds space.

RenderTextureToFileUtils

Provides the callback hook used by Vista tools to hand a render texture to an external file-export implementation.

SceneDataUtils

Provides helpers for collecting scene-derived data from terrain tiles into shared render targets.

SelfDescription

Human-readable self description for a Vista asset: a title, a short description, a longer usage guide, and a preview screenshot. Deliberately a single shared, serializable type so the same shape powers both a graph's self description and a BiomeTemplate's gallery entry (one definition, one drawer). See the 3.2 template-gallery / graph-system design.

SetBiomeAreaOnSpawn

Sizes its LocalProceduralBiome polygon to cover a fixed world-space area (width by length), centered on the biome, after it is spawned from a template. The explicit-size counterpart to SnapBiomeToTilesOnSpawn, for when the biome should cover a set area rather than fit the terrain. Only touches the XZ polygon, so it composes with a separate height component.

SetBiomeHeightOnSpawn

Matches its LocalProceduralBiome's height to a fixed world-space height after it is spawned from a template, even when that differs from the Vista Manager's max terrain height. Only touches the Y scale and the height-blend option, so it composes with any XZ sizing component (for example SnapBiomeToTilesOnSpawn or SetBiomeAreaOnSpawn).

ShaderUtilities

Caches shader lookups so repeated calls do not rely on repeated global Find(string) searches.

SnapBiomeToTilesOnSpawn

Snaps its LocalProceduralBiome so the biome polygon covers every terrain tile under the Vista Manager. Dropped on a biome template's prefab, it fits the spawned biome to whatever terrain the scene has, so the template covers the full terrain the moment it is created, at any terrain size.

SpawnUtilities

Wraps GameObject instantiation so Vista can use editor-aware spawning when available.

TemplateUtils

Provides runtime feature checks shared by Vista template assets.

TerrainEditSession

Publishes the lifecycle of terrain-edit operations to interested subsystems.

TerrainGridCreationContext

Describes the terrain grid a backend should create. Passed to CreateTerrainGrid(TerrainGridCreationContext).

TerrainSeal

Keeps manual terrain edits inside a polygonal region when Vista regenerates the surrounding terrain.

TerrainSystemUtilities

Helpers for reasoning about what a terrain backend can consume from a biome.

TileExtensions

Provides helper methods for testing tile-to-biome overlap.

TileRegistry

Tracks enabled terrain tiles across all registered Vista terrain backends.

TreeTemplate
Utilities

Collects small shared helpers used across Vista runtime code for value swapping, texture conversion, resampling, and coordinate mapping.

VMUtils

Provides convenience generation entry points built on Generate(IEnumerable<ITile>).

VersionInfo

Exposes Vista product and version constants and registers them with VersionManager.

VersionManager

Aggregates version strings contributed by Vista modules through a shared callback hook.

VistaIndie
VistaLib

Provides low-level rendering helpers backed by Vista shaders and compute shaders.

VistaManager
VistaPainter
VistaPro
WaitAllCompleted

Yield instruction that waits until every supplied ProgressiveTask has completed.

Structs

BiomeBlendOptions
InstanceSample
MinMaxFloat
MinMaxInt
PositionSample
VistaManager.ObjectPopulateArgs

Carries manager-level options used by object populators during one generation pass.

Interfaces

IAlbedoMapPopulator

Defines a tile contract for applying generated albedo textures.

IBiome

Defines the runtime contract for a biome that can contribute data to Vista tiles.

IBiomeTemplateSpawnCallbackReceiver

Implemented by any component on a BiomeTemplate's biome prefab that needs to run custom logic when the prefab is spawned as a disconnected clone. After the clone is created, the spawner calls OnSpawnedFromBiomeTemplate(BiomeTemplate, BiomeTemplateSpawnContext) on every component in the clone that implements this interface (see BiomeTemplateSpawner), in GetComponentsInChildren order.

IDetailDensityPopulator

Defines a tile contract for converting generated detail density maps into backend-specific detail data.

IDetailInstancePopulator

Defines a tile contract for applying generated detail instance buffers.

IGenericBufferPopulator

Defines a contract for receiving generic compute-buffer outputs generated for a tile.

IGenericTexturePopulator

Defines a contract for receiving generic texture outputs generated for a tile.

IGeometryPopulator

Defines a tile contract for applying geometry-related biome outputs.

ILayerWeightsPopulator

Defines a tile contract for applying terrain layer weights.

IMetallicMapPopulator

Defines a tile contract for applying generated metallic textures.

IModuleInfo

Defines a contract for i module info.

IObjectPopulator

Defines a contract for spawning or applying generated object instances.

IPolygonalArea

Defines an authored polygonal area without prescribing boundary falloff behavior.

IPolygonalAreaWithFalloff

Extends a polygonal area with an authored falloff region.

IProceduralBiome

Extends IBiome with a terrain-graph-driven biome source.

ISceneHeightProvider

Defines a contract for tiles that can contribute their height data to a shared scene-height texture.

ISceneTextureWeightProvider

Defines a tile capability for drawing one persisted terrain-layer weight into a world-space canvas.

ITerrainGraphArgumentsFiller

Defines a contract for supplying additional execution arguments to a terrain graph.

ITerrainSystem

Defines the integration contract between Vista and a terrain backend.

ITile

Defines the minimum runtime contract for a terrain tile that can participate in Vista generation.

ITileSnapshotProvider

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

ITreePopulator

Defines a tile contract for applying generated tree instance buffers.

Enums

BiomeBlendOptions.HeightBlendMode
BiomeBlendOptions.HoleBlendMode
BiomeBlendOptions.MeshDensityBlendMode
BiomeBlendOptions.PopulationBlendMode
BiomeBlendOptions.TextureBlendMode
BiomeDataMask
DetailTemplate.TextureBasedGrassShape
FalloffDirection
GenerationStatus

Describes the lifecycle state of one VistaManager generation request.

LocalProceduralBiome.CleanUpMode
MissingOutputAction

Describes how a tile channel should behave when the current generation pass does not produce that output.

Delegates

PopulateGenericBuffersHandler

Represents a callback that receives generic buffer outputs produced for a tile.

PopulateGenericTexturesHandler

Represents a callback that receives generic texture outputs produced for a tile.

PopulatePrefabHandler

Represents a callback invoked after a prefab instance has been spawned for a tile.

ProgressNotifications.BeginHandler
ProgressNotifications.EndHandler
ProgressNotifications.ReportHandler
RenderTextureToFileUtils.RTToFileHandler

Handles a request to export a render texture using a caller-provided file name stem.

TerrainEditSession.BeginHandler

Represents the start of an edit session.

TerrainEditSession.EndHandler

Represents the end of an edit session.

TerrainEditSession.TileWriteHandler

Represents a notification immediately before or after a session first writes to a tile.

VersionManager.CollectVersionInfoHandler

Adds one or more version strings to the shared collection returned by GetVersionStrings().

VistaManager.CollectTilesHandler

Represents a callback that contributes tiles owned by a manager.

VistaManager.DetailDensityPopulatedHandler

Represents a callback raised after detail density maps have been applied to a tile.

VistaManager.DetailInstancePopulatedHandler

Represents a callback raised after detail instance buffers have been applied to a tile.

VistaManager.GeneratePipelineHandler

Represents a callback raised at the start or end of the manager generation pipeline.

VistaManager.GenericBufferPopulatedHandler

Represents a callback raised after generic buffer outputs have been applied to a tile.

VistaManager.GenericTexturePopulatedHandler

Represents a callback raised after generic texture outputs have been applied to a tile.

VistaManager.LayerWeightPopulatedHandler

Represents a callback raised after terrain layer weights have been applied to a tile.

VistaManager.ObjectPopulatedHandler

Represents a callback raised after object instance data has been populated for a tile.

VistaManager.TexturePopulatedHandler

Represents a callback raised after a single texture output has been pushed into a tile.

VistaManager.TreePopulatedHandler

Represents a callback raised after tree samples have been populated into a tile.