function
submit(_material, _data)
Immediately submits the dynamic batch for rendering.
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. |
Struct.BBMOD_DynamicBatch
Returns self
.
The dynamic batch is not submitted if the material used is not compatible with the current render pass!
BBMOD_DynamicBatch.render, BBMOD_DynamicBatch.render_object, BBMOD_DynamicBatch.submit_object, BBMOD_ERenderPass, BBMOD_Material
Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.