Does SFML render graphics outside the window?

Posted by ThePlan on Game Development See other posts from Game Development or by ThePlan
Published on 2012-11-10T18:20:25Z Indexed on 2012/11/10 23:18 UTC
Read the original article Hit count: 287

Filed under:
|
|

While working on a tile-based map I figured it would be a good idea if I would only render what the player sees on the game window, but then it occurred to me that SFML could already be optimized enough to know when it doesn't have to render those things.

Let's say I draw a 30x30 squared maps (A medium one) but the player only sees a bunch of them, not entirely. Would SFML automatically hide what the player doesn't see, or should I hide it myself?

© Game Development or respective owner

Related posts about c++

Related posts about rendering