Title: How to pass an array from the vertex shader to the fragment shader, in Metal
The ending sentence of thefirst paragraph is now incorrect. I am not trying to pass the arrayusing a structure; the outer structure is the parameter list for thefragment shader. The second error message sentence now has weirdgrammar. The first sentence of the last paragraph is now misleading;it defines the input for the fragment shader; not how to pass it.