SFML community forums
Help => Graphics => Topic started by: Wine on April 01, 2010, 06:33:35 pm
-
How can I get pixels from sf::RenderWindow? I'm going to get pixels and then update it on WM_PAINT message in my game (I don't need realtime rendering). On the other hand; can I connect HDC whit sf::RenderWindow?
-
How can I get pixels from sf::RenderWindow?
sf::Image image = window.Capture();
On the other hand; can I connect HDC whit sf::RenderWindow?
No, since SFML doesn't give access to the internal HWND.