(GL) Can we draw multiple line stripes on a single call with a call?

Is there a trick to tell openGL to end the line of the line at a vertex (and start a new one at the next vertex) without leaving the draw call?

I'm going to interrupt each polyline with {NAN, NAN, NAN} vertices, but could they have any unexpected side effects?


source to share

1 answer


as written here but I'm not sure if you can enter a vertex or complete a line by typing (NAN, NAN, NAN)

in opengl




All Articles