meshVertexBuffer

fun meshVertexBuffer(size: Int): VertexBuffer(source)

Creates a VertexBuffer that is suited for holding meshes. Each vertex contains:

  • position (vec3)

  • normal (vec3)

  • textureCoordinate (vec2)