SFML community forums
Help => Graphics => Topic started by: StriderPulse599 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.
-
VertexArray is basically just a container with some extra information, the actual magic with OpenGL happens in the draw method of the RenderTarget (https://github.com/SFML/SFML/blob/master/src/SFML/Graphics/RenderTarget.cpp#L346-L411). Hope that helps.