Hi, I have trouble understanding how to screenshot only part of the renderWindow. I currently understand how to screenshot the whole window. If anyone has any idea on how to approach this problem, please help me. Thank you.
What I currently have:
sf::Texture texture;
texture.create(1200, 675);
texture.update(renderWindow);
texture.copyToImage().saveToFile(filename + "-imagefilter.jpg");