genTextures

open fun genTextures(n: Int, textures: Buffer)