draw_mesh_batched

function

draw_mesh_batched(_vertexBuffer, _matrix, _material, _batchData[, _primitiveType])

Description

Adds a BBMOD_ERenderCommand.DrawMeshBatched command into the queue.

Arguments

Name Type Description
_vertexBuffer Id.VertexBuffer The vertex buffer to draw.
_matrix Array<Real> The world matrix.
_material Struct.BBMOD_Material The material to use.
_batchData Array<Real>, Array<Array<Real>> Either a single array of batch data or an array of arrays of batch data.
_primitiveType Constant.PrimitiveType The primitive type of the mesh. Defaults to pr_trianglelist.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.