Is it possible to send an array of Vector3 to my shader,
uniform vec3 positions;
In my code I tried to pass a list of positions using GL.Uniform3(), but there is no overload to send an array of Vector3.
List<Vector3> listPositions = new List<Vector3>(); GL.Uniform3(location, listPositions.Count, listPositions.ToArray());
Should I send an array of floats instead? I'm just looking for a lazy one line method if you can implement. :)
Thanks I really enjoy using opentk!