BatchDrawer

class BatchDrawer

Executes the final stage of batch rendering - drawing. The drawer can assume that all display-objects have been into the batch-factory and the batch-geometry factory.

Summary


Properties from BatchDrawer

BatchRenderer
renderer

The batch renderer

Methods from BatchDrawer

void
draw()

Public Properties


renderer BatchDrawer.ts:9
renderer: BatchRenderer

The batch renderer

Public Methods


draw BatchDrawer.ts:17
draw() → {void}

This method will be called after all display-object have been fed into the batch and batch-geometry factories.

Hint: You will call some form of BatchGeometryFactory#build; be sure to release that geometry for reuse in next render pass via BatchGeometryFactory#release(geom).

Returns:
Type Description
void

Powered by webdoc!