Skip to content

Using platform agnostic version of Myra

Roman Shapiro edited this page Jul 18, 2021 · 11 revisions

Myra.PlatformAgnostic is version of Myra that isnt tied to any game engine.

It is available at the nuget: https://www.nuget.org/packages/Myra.PlatformAgnostic/

In order to use it, it is required to implement interfaces IMyraPlatform and IMyraRenderer.

Parent interface of IMyraPlatform is ITexture2DManager

There's a sample demonstrating usage of Myra.PlatformAgnostic for the MonoGame: https://github.com/rds1983/Myra/tree/master/samples/Myra.Samples.PlatformAgnostic

Also there's more complicated sample for the Silk.NET: https://github.com/rds1983/Myra.Silk.NET