textureMesh

fun textureMesh(gl: GL, size: Int = 1000, grow: Boolean = false, generate: Mesh.() -> Unit): Mesh
fun <T : ContextListener> T.textureMesh(size: Int = 1000, grow: Boolean = false, generate: Mesh.() -> Unit): Mesh

Creates a mesh with VertexAttribute.POSITION_2D, VertexAttribute.COLOR_PACKED, and VertexAttribute.TEX_COORDS attributes.