Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
How sf::VertexArray works OpenGL-wise?
Print
Pages: [
1
]
Author
Topic: How sf::VertexArray works OpenGL-wise? (Read 1360 times)
0 Members and 1 Guest are viewing this topic.
StriderPulse599
Newbie
Posts: 16
How sf::VertexArray works OpenGL-wise?
«
on:
March 01, 2024, 11:29:59 am »
I tried digging through source code but can't pinpoint what does what. I'm almost done with learning OpenGL, but I want to learn how SFML handled sf::VertexArray since I've been using it a lot.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: How sf::VertexArray works OpenGL-wise?
«
Reply #1 on:
March 01, 2024, 11:53:48 am »
VertexArray is basically just a container with some extra information, the actual magic with OpenGL happens in the
draw method of the RenderTarget
. Hope that helps.
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
»
How sf::VertexArray works OpenGL-wise?