Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
[SOLVED]Is it possible to batch lines?
Print
Pages: [
1
]
Author
Topic: [SOLVED]Is it possible to batch lines? (Read 5982 times)
0 Members and 1 Guest are viewing this topic.
gurbuz
Newbie
Posts: 2
[SOLVED]Is it possible to batch lines?
«
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.
«
Last Edit: November 18, 2021, 02:34:22 pm by gurbuz
»
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: [SOLVED]Is it possible to batch lines?
«
Reply #1 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
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
[SOLVED]Is it possible to batch lines?