function
draw_mesh(_vertexBuffer, _vertexFormat, _primitiveType, _materialIndex, _material, _matrix)
Adds a BBMOD_ERenderCommand.DrawMesh command into the queue.
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. |
Struct.BBMOD_RenderQueue
Returns self
.
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.