Accessing the 'GraphicsDeviceManager' in MonoGame.Forms?

Probably a silly question, but how do I access / create a ‘GraphicsDeviceManager’ with MonoGame.Forms? Didn’t find it…

Thanks :slight_smile:

You cant’t. GraphicsDeviceManager is specific to the Game class.

Possibly MonoGame.Forms implement it’s own IGraphicsDeviceManager and IGraphicsDeviceService. That’s what you would need to create a ContentManager.
If some of your libraries need a GraphicsDeviceManager see if you can change it to use IGraphicsDeviceService.


You can get the GraphicsDevice via EditorService.GraphicsDevice.

On what do you need further assistance with?

If you have ideas on how to improve the library, then feel free to drop me a line or post your feedback in the MonoGame.Forms thread. I always extend and update the library with users feedback in mind.

If you need help with something different then please create a new topic.