Procedural geometry multiple UV coordinates?

How can you do this?
I assign my UVs like this:

uv = GeomVertexWriter(vdata, 'texcoord')

where ‘vdata’ is the GeomVertexData. Should I just create another GeomVertexWriter? But then how can I specify which vertex uses which uv coordinate set?

defaultUV = GeomVertexWriter(vdata, 'texcoord')
secondUV = GeomVertexWriter(vdata, 'texcoord.second')
thirdUV = GeomVertexWriter(vdata, 'texcoord.third')

You can also assign tangents and binormals accordingly, if you need them.

yes but how do you specify which vertex uses which uv coordinate set for which texture?

I don’t understand. You loop through the vertices and you assign texture coordinates to them. If you have 3 texcoord sets, then all of your vertices will have 3 texture coordinates.

Later, when assigning a texture, you will pass the name of the UV set using TextureStage.setTexcoordName()