SFML community forums

Help => Graphics => Topic started by: gurbuz on November 18, 2021, 11:58:31 am

Title: [SOLVED]Is it possible to batch lines?
Post by: gurbuz on November 18, 2021, 11:58:31 am
Is it possible to draw the lines that I created with the Vertex Array in a one draw call, instead of drawing them individually?

Edit: Yes it is possible. It was not nice of me to open a topic like this without being sure. I apologize in advance.  :-[
Title: Re: [SOLVED]Is it possible to batch lines?
Post by: eXpl0it3r on November 18, 2021, 11:28:50 pm
No worries, glad you could figure it out! :)

For others here's a link to the Vertex Array tutorial: https://www.sfml-dev.org/tutorials/2.5/graphics-vertex-array.php