SFML community forums

Help => Graphics => Topic started by: bakerw on May 23, 2018, 12:52:12 pm

Title: How to draw to a texture of screen size?
Post by: bakerw on May 23, 2018, 12:52:12 pm
How do would I draw to a texture of the screen size (greater than 1024x1024), going to be a background for some graphing software rather than drawing a few hundred lines per frame, or is SFML not a good option for this?
Title: Re: How to draw to a texture of screen size?
Post by: eXpl0it3r on May 23, 2018, 01:18:21 pm
Split from this thread (https://en.sfml-dev.org/forums/index.php?topic=20821.0).
Please don't post on 2 years old thread unless it's relevant for the existing thread.

Why do you need to draw to a texture (which only works with a render texture) and can't just draw to the window?
There is a maximum texture size, but it's not fixed to 1024x1024. Since it's a specific software you could also require for the workstations to have enough recent GPUs that will easily support screen size large textures.