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

Author Topic: Just a simple question about sf::RenderTexture  (Read 1354 times)

0 Members and 1 Guest are viewing this topic.

zeocyte

  • Newbie
  • *
  • Posts: 9
    • View Profile
Just a simple question about sf::RenderTexture
« on: December 23, 2011, 09:25:33 am »
Does deactivating (calling SetActive(false)) an sf::RenderTexture reduce overheads?

If available, kindly include some evidence to your claim.
Everything is predetermined.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Just a simple question about sf::RenderTexture
« Reply #1 on: December 23, 2011, 09:30:20 am »
A RenderTexture is never left active after being used. Unless you called SetActive(true) yourself, of course.
Laurent Gomila - SFML developer