CartBlanche / MonoGame-Samples

All the Samples that work with MonoGame
https://github.com/MonoGame/MonoGame
712 stars 354 forks source link

Added WpfInteropSample which shows how to render into a WPF D3DImage. #30

Closed DigitalRune closed 11 years ago

DigitalRune commented 11 years ago

This pull request adds a sample project which shows how to use MonoGame to render graphics into a WPF D3DImage.

This sample works only with the changes of following MonoGame pull request: https://github.com/mono/MonoGame/pull/1497 It also needs SharpDX >= v2.5.0. It does not work with SharpDX v2.4.2 because of a bug where DeviceEx constructor throws a NullReferenceException.

CartBlanche commented 11 years ago

Thanks for the submission. I'm a little confused as to which platform this should be part of?

D.

DigitalRune commented 11 years ago

Since it is WPF-based, it only works with the Windows/DirectX build of MonoGame.