I have a series of verticies in a list as
where coordinates holds an x, y, and z byte.
when I go to pass the list to bufferdata, I get this warning:
The type 'System.Collections.Generic.List>' must be a non-nullable value type in order to use it as parameter 'T2' in the generic type or method 'OpenTK.Graphics.OpenGL.GL.BufferData(OpenTK.Graphics.OpenGL.BufferTarget, System.IntPtr,ref T2, OpenTK.Graphics.OpenGL.BufferUsageHint)'
My question is this: Is there a way to get around this and push a list straight to a VBO via GL.BufferData(), or do I have to push this to a one-dimensional array?