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

FilterIn


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

BatchContainerBase


protected constructor BatchContainerBase → ()

Creates a new instance of BatchContainerBase.

Protected / Methods

AddBatch


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).

SortBatches


protected method SortBatches → ()

Sorts the rendering batches.

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