IBatchRenderer

Description

interface Tinman.Terrain.Meshing.IBatchRenderer
<TBatch out val : IBatchRenderable<TBatch>>

Derived from

IBatchRendererBase
IBatchContainer<TBatch>

Extended by

BatchRendererBase abstract

Generic base interface for classes that render terrain sector batches.

Public / Methods

RenderBatches


public method RenderBatches → (4)

triangulation in : Triangulation

[not-null]
The mesh triangulation object.

renderer in : IPrimitiveRenderer

[not-null]
The primitive renderer to use.

callback opt : BatchDelegate<TBatch> = null

Optional render state callback to use.

tag opt : int32 = 0

A user-defined value that will be passed to the callback opt.

Renders all batches using the given renderer.