BatchContainerBase

Description

abstract class Tinman.Terrain.Meshing.BatchContainerBase
<TBatch val : IBatch<TBatch>>

Derived from

MeshTraversal abstract
IBatchContainer<TBatch>

Extended by

BatchRendererBase abstract
Planting sealed

Abstract base class for IBatchContainer 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 / Constructors

Batch​Container​Base


protected constructor BatchContainerBase → ()

Creates a new instance of BatchContainerBase.

Protected / Methods

Add​Batch


protected method AddBatch → (1)

batch in : TBatch

The batch to add.

Adds the given batch.

Calling this method will not increment the batch count (see IBatchContainerBase.BatchCount).

Sort​Batches


protected method SortBatches → ()

Sorts the rendering batches.

This method will set the batch count (see IBatchContainerBase.BatchCount).