render

function

render([_materials[, _batchData[, _ids]]])

Description

Enqueues the dynamic batch for rendering.

Arguments

Name Type Description
_materials Array<Struct.BBMOD_Material> An array of materials.
_batchData Array<Real>, Array<Array<Real>> Data for dynamic batching. Defaults to data of instances added with BBMOD_DynamicBatch.add_instance.
_ids Array<Id.Instance>, Array<Array<Id.Instance>> IDs of instances in the _batchData array(s). Defaults to IDs of instances added with BBMOD_DynamicBatch.add_instance. Applicable only when _batchData is undefined!

Returns

Struct.BBMOD_DynamicBatch Returns self.

See also

BBMOD_DynamicBatch.render_object, BBMOD_DynamicBatch.submit, BBMOD_DynamicBatch.submit_object, BBMOD_Material

Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.