Jump to content
  • Advertisement
Sign in to follow this  

Mutliple Direct3D views in Managed C++?

This topic is 4082 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, For my 3d editor, i want to create four panels for the top, front, left and perspective construction and view panels. How can i implement this behaviour using four Direct3D views? Do i need to create a D3D device for each of the views? Would be nice if you could help me, since i´m very new to Managed C++ / CLR. thanks Gamma_strahler

Share this post


Link to post
Share on other sites
Advertisement
You don't need to create multiple devices. You create one device, and a swap chain per window (from the perspective of direct3d, a panel is the same as a window: so long as you can supply a handle, it'll work).

Refer to this tutorial:

http://www.codesampler.com/dx9src/dx9src_1.htm#dx9_swap_chains

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!