Rendering to multiple, different-sized windows

Started by
0 comments, last by Syranide 18 years, 9 months ago
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
------------------------------------------------------------Neo, the Matrix should be 16-byte aligned for better performance!
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).


This topic is closed to new replies.

Advertisement