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

Author Topic: View optimizations?  (Read 1365 times)

0 Members and 1 Guest are viewing this topic.

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
View optimizations?
« on: September 20, 2012, 04:07:28 pm »
Is the View system optimized in such a way that items drawn off-screen are ignored?

For instance, if I have a RenderWindow or Texture with a view with a top-left position of {5,5} (theoretically), and the right-most point of a line only reaches, say, {3,x}, is the line ignored for that frame?
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: View optimizations?
« Reply #1 on: September 20, 2012, 04:28:35 pm »
No. SFML doesn't optimize this kind of stuff.
Laurent Gomila - SFML developer

Qix

  • Full Member
  • ***
  • Posts: 139
  • I am Qix!
    • View Profile
    • Natoga Technologies
Re: View optimizations?
« Reply #2 on: September 20, 2012, 04:34:20 pm »
Alright, good to know.
~ Qix
Creator of Rippl Studio
Code: [Select]
<danharibo> iostream: I don't do enough drugs to think that's a good idea.