function
draw_mesh(_vertexBuffer, _matrix, _material[, _primitiveType])
Adds a BBMOD_ERenderCommand.DrawMesh command into the queue.
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. |
_primitiveType | Constant.PrimitiveType |
The primitive type of the mesh. Defaults to pr_trianglelist . |
Struct.BBMOD_RenderQueue
Returns self
.
Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.