render/batched

Contains recommended rendering functions for batched rendering, please refer to the rendering examples for a proper tutorial

prepare_batch()

Prepares a batch for future insertion and rendering

prepare_batch(type: templatetype): renderbatch

Parameters

nametypedescription
typetemplatetypeThe template type used

render_batch()

Renders a given batch of templates

render_batch(type: templatetype, templates: rendertemplate[]): void

Parameters

nametypedescription
typetemplatetypeThe template type used
templatesrendertemplate[]The templates to render