draw_mesh

function

draw_mesh(_vertexBuffer, _vertexFormat, _primitiveType, _materialIndex, _material, _matrix)

Description

Adds a BBMOD_ERenderCommand.DrawMesh command into the queue.

Arguments

Name Type Description
_vertexBuffer Id.VertexBuffer The vertex buffer to draw.
_vertexFormat Struct.BBMOD_VertexFormat The format of the vertex buffer.
_primitiveType Constant.PrimitiveType The primitive type of the mesh.
_materialIndex Real The material's index within the material array.
_material Struct.BBMOD_Material The material to use.
_matrix Array<Real> The world matrix.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

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