List to T[] without copying
I’m have a large list of value types that needs to be given to OpenGL. It would be great if this could happen as quickly as possible.
What I’m doing now looks like this:
Convert this to an array to output specific positions in the array
I’m looking for converting this list to an array so I can output specific strings from there. How could I do this? Here is the code: