Jump to content
  • Advertisement
Sign in to follow this  
Timkin

split screen (docked child) in fullscreen mode?

This topic is 4202 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

Okay, problem 2 with my fullscreen project... if I can only have one swap chain in full screen mode, how can I make a split screen setup equivalent to having a parent and child window in windowed mode. When switching to full screen mode, I'd like to be able to have a child window dock into the full screen, so that I essentially have two areas on the screen showing different things (one the main view and the other text, or perhaps a view of a different scene). I've looked online and through the SDK, but I cannot find anything relevant (other than doing multiple views in windowed mode)... probably because I don't know what to look for. If someone could point me in the right direction for reading materials I would appreciate it. Thanks once again, Timkin

Share this post


Link to post
Share on other sites
Advertisement
There are various ways to go about this, but probably the most flexible is to render the "child window" into a render target, then draw it using a quad where you want it.

Two benefits of this method is that you don't have to redraw the context of this window every frame (just draw the already rendered texture), and that by just changing the colour (and in particular, the alpha) you clear the render target to you can blend this with a nice translucent background.

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!