Draw simple text with metal
23:42 03 Apr 2020

In our app, we used metal to draw heart rate graph and it works fine, but now I want to draw a simple text with metal.

Since I wasn't part of the team when they implemented metal calculation. I have a few questions:

1- In the metal view encoder, should I use line drawPrimitives type ? I mean drawPrimitives use to draw an object, right? so I have to use it for draw text as well?

2- We use a custom class to create a circle Vertex, now my question is, should I use a something like this class to draw words in a text?

3- And my final question, is what is the easiest way to draw and render a simple text (this text is an integer, something like : 1250) in swift.

many thanks

swift metal metalkit