✔ ☕ General Conversation Thread

I was wondering why there was no overload of the spritebatch.draw method
that took float values instead of int values for the destination
rectangle (rectangle accepts ints only), especially since the ints are
converted to floats afterwards (a bit of a waste, isn’t it?)

Ya this was discussed on a couple git hub issues. Hopefully well get a full overload that just takes vertice corner positions directly four vector3’s and all 4 colors, as well as Uv’s for each vertice. So we can directly draw quads and make our own overloads if desired but keep spritebatches batching efficiency. Though you could rebuild monogame and add it. It would be nice to just have it already without fully rebuilding monogame.

There’s been a few similar requests on the github pages as well

Happily making a full overload is easiest of all as a full version just eliminates work done within a draw call directly passing the parameters.
Unhappily the adding of parameters however may actually slow it down.

Not sure i think were waiting for a milestone first though.

Spritebatch is very much optimized now. It would be a waste not to open that up for everyone to use for alternate things like particles your own text methods ect…