Companion

external object Companion(source)

Functions

Link copied to clipboard
external fun clone(primitive: BufferPrimitive, result: BufferPrimitive): BufferPrimitive

Copies data from source primitive to result. If the result primitive is not new (the last primitive in the collection) then source and result primitives must have the same vertex counts.