MultiBatch

Description

struct Tinman.Terrain.Meshing.MultiBatch

Output batch of the MultiBatching class.

MultiBatch values have the following natural sort order:

  1. Count of elements in Batches (ascending)

  2. Batches [0] (ascending)

  3. Batches [1] (ascending)

  4. …​

  5. Batches [Count-1] (ascending)

Public / Constants

Empty


public static readonly attribute Empty → (MultiBatch)

The empty batch.

Public / Constructors

Multi​Batch


public constructor MultiBatch → (3)

containers in : IBatchRendererBase [ ]

[not-null]
The shared array of batch containers.

batches in : int32 [ ]

[not-null]
The aggregated batches.

batch in : SectorBatch

The sector batch.

Creates a new instance of MultiBatch.

Public / Attributes

Batch


public readonly attribute Batch → (SectorBatch)

The mesh sector of this batch.

Batches


public readonly attribute Batches → (int32 [ ])

The aggregated batches that intersect with this batch.

Containers


public readonly attribute Containers → (IBatchRendererBase [ ])

The shared array of batch containers.

All MultiBatch values that have been produced by the same MultiBatching object share the same array instance.