render

function

render(_material, _data)

Description

Enqueues the dynamic batch for rendering.

Arguments

Name Type Description
_material Struct.BBMOD_Material A material. Must use a shader that expects ids in the vertex format.
_data Array<Real> An array containing data for each rendered instance.

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 © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.