Sign in to follow this  

About D3d8&SplitterWnd

Recommended Posts

If you are looking to render to each of the frames in the SplitterWnd, you may not want to create a new device for each View. You'll want to create a Swap Chain for each View. This lets you share one Direct3D8 Device with each view you want to render. You can create a new Swap Chain by calling CreateAdditionSwapChain() on your Direct3D8 Device.

The Swap Chain acts like a rendering surface, so you can access the back-buffer and set it as your rendering target and draw your scene. Hope this helps.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this