colorMeshUnpacked

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

Creates a mesh with VertexAttribute.POSITION_2D and VertexAttribute.COLOR_UNPACKED attributes.