to_vertex_buffer

function

to_vertex_buffer(_vbuffer[, _vformat])

Description

Adds the vertex to the vertex buffer.

Arguments

Name Type Description
_vbuffer Id.VertexBuffer The vertex buffer to add the vertex to.
_vformat Struct.BBMOD_VertexFormat The vertex format of the vertex buffer. Defaults to the format of the vertex if undefined.

Returns

Struct.BBMOD_Vertex Returns self.

Throws

  • BBMOD_Exception - If the format of the vertex and the format of the buffer are not compatible.
Do you find this page helpful?

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