IBatchContainer

Description

interface Tinman.Terrain.Meshing.IBatchContainer<TBatch out val>

Derived from

IBatchContainerBase

Extended by

BatchContainerBase abstract
IBatchRenderer

Base interface for IMeshTraversal implementations that produce batches.

Public / Methods

Get​Batch


public method GetBatch → (1)

index in : int32

[0..IBatchContainerBase.BatchCount-1]
Index of rendering batch to return.

returns → TBatch

The rendering batch.

Returns the index in-th rendering batch.

Usually, the sort order of batches is well-defined, in order to minimize state changes when processing batches first to last. Please refer to the documentation of the respective batch type for details.