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
name | type | description |
---|---|---|
type | templatetype | The template type used |
render_batch()
Renders a given batch of templates
render_batch(type: templatetype, templates: rendertemplate[]): void
Parameters
name | type | description |
---|---|---|
type | templatetype | The template type used |
templates | rendertemplate[] | The templates to render |