BatchRendererBase

Description

abstract class Tinman.Terrain.Meshing.BatchRendererBase
<TBatch val : IBatchRenderable<TBatch>>

Derived from

BatchContainerBase<TBatch> abstract
IBatchRenderer<TBatch>

Extended by

Batching sealed
Chunking sealed
Decaling sealed
MultiBatching sealed
Regions sealed
Texturing sealed

Abstract base class for IBatchRenderer implementations.

Public / Attributes

Filter​In


public attribute FilterIn → (get,set)

value : MeshTreeFilter

The filter or null.

The mesh tree input filter to use for querying sector culling and marks.

The default value is null (i.e. all mesh sectors are visited).

Protected / Methods

Do​Compute​Batches


protected abstract method DoComputeBatches → ()

Builds the batches.

IBatchContainerBase.ClearBatches is called before this method and BatchContainerBase.SortBatches afterwards.