Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML Graphic Pathes Block Diagram  (Read 2139 times)

0 Members and 1 Guest are viewing this topic.

Ezekiel

  • Newbie
  • *
  • Posts: 23
    • View Profile
SFML Graphic Pathes Block Diagram
« on: July 24, 2022, 11:21:12 am »
Greetings All:

With the tutorials and forums I've found it a wee little bit confusing to figure out how to pass the graphics from object to object, ending up in the Window, of course.

I traced the classes used and where required, then made a block diagram showing the graphics data paths.  I've used this every time I used SFML with any graphics used and it makes it more understandable, well for me at least.

I think the tutorials could use something like this to help, perhaps bright sections or circles around described code.  Corrections, improvements, additions and better drawing quality software appreciated.

If beneficial for anyone, I wish the best.

« Last Edit: August 02, 2022, 12:30:39 am by eXpl0it3r »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10815
    • View Profile
    • development blog
    • Email
Re: SFML Graphic Pathes Block Diagram
« Reply #1 on: August 02, 2022, 12:33:18 am »
I guess the "most" important arrow from Drawable to RenderTarget misses the draw label ;)

Not exactly sure in which situations one would profit from this overview, but generally a fan of plotting things down to help with one own's mental model.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/