Jump to content
  • Advertisement
Sign in to follow this  
billy_zelsnack

[.net] wpf on top of of directx context not possible

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

Maybe this is common knowledge, but i didn't know about it. As of right now using WPF and DirectX together is pretty much useless for game development. The main usage of WPF is of course for in game gui's and not being able to place them over top a DirectX context kinda kills that. Here is a photo of the result when you combine a WPF and MDX sample. The DirectX context is blue. The top-right box is WPF. Everything else is forms. http://www.z425.com/filebrowser/index.php?fpp=10&did=0&fid=9 As you can see the window background image just shows through the DirectX context. If anyone knows a good work-around (maybe involving a render target), I'd really like to know about it.

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!