GithubHelp home page GithubHelp logo

Some simple helper methods that exist in MonoGame being implemented would reduce the friction when using both FNA and MonoGame about fna HOT 6 CLOSED

fna-xna avatar fna-xna commented on July 17, 2024
Some simple helper methods that exist in MonoGame being implemented would reduce the friction when using both FNA and MonoGame

from fna.

Comments (6)

flibitijibibo avatar flibitijibibo commented on July 17, 2024

The new methods for MG compat would require EXT per our code standards, so it probably wouldn't help your case much anyway... you're better off writing an MGCompat.cs that does extension methods (and you could probably fit it all in a single file anyway).

As for the Binding allocs, that's in now:

a692d0a

from fna.

prime31 avatar prime31 commented on July 17, 2024

I currently have my own extension methods for this. I was just trying to look out for the rest of the folks using MonoGame who might want to try out FNA.

from fna.

flibitijibibo avatar flibitijibibo commented on July 17, 2024

It'd probably be good to have someone maintain an MGCompat both for FNA and for XNA; having MG code that uses extensions and is still compatible with XNA will help them with accuracy tests.

from fna.

prime31 avatar prime31 commented on July 17, 2024

I'm all setup to flip-flop back and forth between MG and FNA so ill extract all of the extension methods that I have added into an MGCompat class and keep adding more as I find them. It will at least help out the folks who come accross it in my repo.

from fna.

flibitijibibo avatar flibitijibibo commented on July 17, 2024

I'd be willing to link to it in the docs as well. This and the MGCB compatibility are probably worth noting...

from fna.

prime31 avatar prime31 commented on July 17, 2024

I'll make a note to document the MGCB setup and link directly to the MGCompat.cs file (once I extract all the extension methods into it) in the FNA setup page here.

from fna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.