Render CMSampleBuffer with metal

Hello Caroline, if I need to render CMSampleBuffer, how can I use metal to do it is better?

I haven’t ever used CMSampleBuffer, but this tutorial looks good: Metal Camera Tutorial Part 2: Converting sample buffer to a Metal texture - Alex Staravoitau’s Blog