UV Layers

UV layers are built using the concept of face vertices—wherein data is associated to a specific vertex of a specific face. A vertex associated with multiple faces can be associated with multiple UVs, depending on the face being considered.

The UV layer consists of two arrays. The first is an array of unique UV values (2D float points) that are stored as ILBVec2 structs—in which the x component holds the U value and the y component holds the V value. The second array contains integer indices, associating a UV value with each face vertex by indexing it to the UV array.