Apple devices and the rendering api?

Hey everyone! Brand new here to the community and love the idea of using SDL for my game/engine development library! SDL covers all platforms that I wish to distribute, but a slight concern on iOS and macOS. Apple has depreciated opengl since I believe 2018(I may be wrong) and that leads to me believing SDL uses opengl for ios or macos for the rendering api during the export to those platforms.Does this library uses the metal api when the game has been exported to the apple devices?

Yes, the SDL rendering API uses Metal by default on Apple platforms.

1 Like

Thank you for the reply! I was worried that in iOS ports, I thought it will be using opengl instead. Or even Mac ports. Dumb question, does sdl rendering api use metal for tvOS and possibly visionOS?

It uses Metal on all Apple platforms that support Metal.