Some technical questions about MonoGame framework

Hello, I am new to this framework and want to know some technical details about it:

  1. As I can see it supports DX 11 with the help of SharpDX, but what about sharpDX toolkit?
    As for latest news from sharpdx.org (http://sharpdx.org/news/new-version-2-6-3) Toolkit will be deprecated.
    Do you have planes to support it or you use your own alternatives to the toolkit?

  2. Do you fix issues in SharpDX with your own or just reference to sharpdx libs?

  3. Is it planned to add DX 12 support next year when win 10 will arrive?

  4. Is it possible to use MonoGame inside WPF (sorry for maybe silly question) or it works as in XNA - just blank window and do whatever you want?

  1. We don’t use SharpDX Toolkit as we already had code to support all of that. Toolkit came about a long time after MonoGame.

  2. We usually take the latest drop of SharpDX if it is necessary to fix certain issues.

  3. There haven’t been any DirectX 12 plans discussed yet.

  4. There have been several people use MonoGame successfully inside a WPF application, and PRs submitted to make it easier. I don’t use this support myself, so I don’t keep track of it.

Thanks a lot for clarification!

Would it be possible to get some code samples for this? This is something that I am interested in as well but I have not found a stable sample to extend from.

My Gemini framework (for writing IDE-like applications using WPF) has a MonoGame module:
https://github.com/tgjones/gemini/tree/master/src/Gemini.Modules.MonoGame

You can try it out by cloning the repo (or downloading a zip), opening Gemini.sln, and starting the Gemini.Demo.MonoGame project.

Nice!

I will certainly take a look at that.

Have you run into any issues doing this?

I think I ran into issues trying to get it working with the OpenGL version of MonoGame, but it was a while ago, so I can’t remember what those issues were. (And since then, it looks like using the OpenGL version in WinForms / WPF no longer works at all.)

So I instead used the DirectX version of MonoGame, and that was relatively straightforward, although it’s definitely easier to copy someone else’s code than do it all yourself! You have to create a number of native Direct3D9 resources yourself, using SharpDX, and then link them to the corresponding MonoGame objects using shared handles.

I suppose you’re referring to the MonoGame samples that are floating around?

Thanks for the information though.