1K vertex set drops FPS to 1

I’m working with GL.Lines drawing 1 pixel lines for a cad-type of drawing feature in-game.

I have loaded around 1000 Vector3 vertices into an array which provides the basic position data to draw my GL lines. It draws in 1 draw call but drops my framerate down to 1 fps.

Can GL.Lines just not handle drawing a line with that many vertices every frame?

Suggestions very much appreciated!

– Anthony

it can handle it but you might be hitting some other limitation. what does the profiler say what the problem is and how are you doing it in detail?

Potentially you’re using Array() and not Vector3[ ]?

–Eric