How do you specify the size of components? Passing a var arg of VertexAttribute to the method would fix that. Allocation would be OK inthat case, as the array can be stored in the Mesh. If we change this we should set Generic to he highest power of two at least.