Jump to content
  • Advertisement
Sign in to follow this  
jeremie009

DX11 Multi Window application with DX11 and Wpf

This topic is 1084 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'm working on a 3d program and I wish to have a quad windows like in Maya or 3dsmax or completely different smaller windows (like model preview window).

So far I managed to get most of this editor working but I'm having a problem with dx11 but I'm stuck. 

 

So basically each window create its own device and whenever I create a shader resource with one device, if I use this resource with another device

the program stall on deviceContext.Flush. 

 

So, what do I need to do to share shader resource from different device ? Is it possible ? I try change the optionflags to shared, but it doesn't change anything. 

I used Wpf for the the interface so I'm using d3dImage 

 

I'm pretty sure I'm missing something quite simple. 

 

thanks

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!