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

Author Topic: Drawing performance  (Read 2215 times)

0 Members and 1 Guest are viewing this topic.

Euphemios

  • Newbie
  • *
  • Posts: 10
    • View Profile
Drawing performance
« 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.

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Drawing performance
« Reply #1 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

Euphemios

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Drawing performance
« Reply #2 on: July 15, 2013, 10:51:58 pm »
Mh, I thought that SFML could handle this for me. But actually you are right :D

G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: Drawing performance
« Reply #3 on: July 15, 2013, 11:04:55 pm »
It doesn't, you have to do it yourself.

 

anything