In short, I want to use SFML to display an image to the window that's already been created in the Chili framework.
Is this possible?
If so, how do I go about doing it? I've found tutorials and information on textures, sprites and displaying images and such with SFML but all the tutorials are for creating a window with SFML and displaying the image inside that.
Is it possible to use SFML to display an image to a window that's already been created?
-
- Posts: 41
- Joined: August 1st, 2019, 9:57 pm
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: Is it possible to use SFML to display an image to a window that's already been created?
I believe the sf::Window class will allow you to create a window using the HWND handle that is stored in MainWindow of the chili framework.
I haven't done this before, but it's a place to start.
I haven't done this before, but it's a place to start.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com