BBMOD_DynamicBatch.default_fn

A function defined in BBMOD_DynamicBatch.gml

default_fn(_data, _index)

Description

The default data writer function. Uses instance's variables x, y, z for position, image_xscale for uniform scale and image_angle for rotation around the z axis.

Arguments

Name Type Description
_data Array An array to which the function will write instance data. The data layout is compatible with shader BBMOD_ShDefaultBatched and hence with material BBMOD_MATERIAL_DEFAULT_BATCHED.
_index Real An index at which the first variable will be written.

See also

BBMOD_DynamicBatch.render_object, BBMOD_DynamicBatch.submit_object

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.