MikePopoloski / SharpBgfx

C# bindings for the bgfx graphics library
MIT License
169 stars 32 forks source link

SharpBgfx and WPF #10

Closed PetrMahdalicek closed 7 years ago

PetrMahdalicek commented 7 years ago

Hi, is here anyone who used SharpBgfx in WPF or UWP application? If yes, please share your experience...

MikePopoloski commented 7 years ago

Unfortunately as you can see nobody is really doing this sort of thing with WPF. I don't think it would be impossible though; I remember WPF having a D3DImage control that exposes a D3D backbuffer. You could pass this in to bgfx via the PlatformData structure and then force it to start up in D3D9 mode, which would probably work.