BBMOD_Vertex.to_vertex_buffer

A function defined in BBMOD_Vertex.gml

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 © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.