• Advertisement
Sign in to follow this  

Rendering to multiple, different-sized windows

This topic is 4582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I've successfully rendered to two windows using one device and an additional swap chain. Now if I have two windows with different size, the first one has to be bigger, so that the device created will be large enogh for the second one to fit in. Here is my question: when rendering to the second (smaller) window, will my rendertarget be resized each frame (causing a performace decrease), or it uses only a part of the device in this case? Thanks for your answers, kp

Share this post


Link to post
Share on other sites
Advertisement
I wouldn't think so, as you aren't drawing in the unused part of the buffer (setviewport or what it is called, which limits the drawing area to a rectangle).

If there would be any such thing it would probably have been noted on MSDN (have a look).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement