So I took @warrenm's MetalSlug (https://github.com/metal-by-example/MetalSlug) - itself an implementation of the https://sluglibrary.com paper…

Ported it to https://metalsprockets.com

Optimised it so it renders all text in a single draw call (from an original 40,000 draw calls…)

And then entered the matrix?

Every glyph is vector. Whoa.

(Code needs a cleanup - it got messy but will put it online soon)

@schwa Absolutely epic.

@warrenm You did the hard work of porting it to Metal. Thank you so much.

All i did was put the atlas textures into argument buffers and the indices into those texture argument buffers and indices to model matrices in each glyph vertex.

Gets rid of the submesh concept and allows everything to go into one draw call (at the expense of more bytes per vertex)