(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?

+3


source to share


1 answer


Try GL_LINE_STRIP

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

.



0


source







All Articles