how to use shared <input set> attribute ?

Hi,

I didn’t quite understand the optional “set” attribute of shared <input> ? Can someone please help me understand what it is and how it works ?

Thanks

(PS: I got my basic rendering of .dae files worked out, yaay. Here are some screenies http://entropologygames.wordpress.com/2009/10/12/screenie-from-my-collada-renderer-processor/ )

The set attribute distinguishes between multiple inputs that have the same semantic. The <bind_vertex_input> element will then describe how to bind the two inputs to the associated materials. The typical use-case is multi-texturing where there are two TEXCOORD semantics (i.e. set=1 and set=2).