Mesh
VertexBuffer
Stores a list of 2D vertex positions for use with image meshes.
Adds one or more vertices to the buffer.
Clears all vertices from the buffer.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
addadd(...Vector) -> ()
local vb = VertexBuffer()
vb:add(Vector.xy(0, 0), Vector.xy(1, 0), Vector.xy(1, 1))
resetreset() -> ()
local vb = VertexBuffer()
vb:reset()
Was this page helpful?