SFML community forums

Help => Window => Topic started by: Euphemios on July 15, 2013, 10:35:31 pm

Title: Drawing performance
Post by: Euphemios on July 15, 2013, 10:35:31 pm
Hello! Is it somehow possible only to draw the things you can see on the screen? Maybe with "sf::RenderTexture" but I don't know how to do it. Thank you.
Title: Re: Drawing performance
Post by: G. on July 15, 2013, 10:46:08 pm
If you don't want to draw things that are outside the screen, then don't draw them. :p
Title: Re: Drawing performance
Post by: Euphemios on July 15, 2013, 10:51:58 pm
Mh, I thought that SFML could handle this for me. But actually you are right :D
Title: Re: Drawing performance
Post by: G. on July 15, 2013, 11:04:55 pm
It doesn't, you have to do it yourself.