Table of Contents

Class BiomeBufferCopy

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

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

public static class BiomeBufferCopy
Inheritance
BiomeBufferCopy
Inherited Members

Remarks

This utility is used when cached biome data is reused for a different target tile bounds. It currently supports buffers packed as either InstanceSample or PositionSample.

Methods

CopyFrom<T>(ComputeBuffer, Rect, Rect)

Creates a destination buffer by remapping sample positions from source bounds into destination bounds.