Sorry if it’s a really dumb question but I was trying to figure out how to initialise SDL with Metal support for MacOS. I already have my game working with OpenGL, I create an SDL window and GLContext and do my own render calls, I want to be able to just initialise SDL to use Metal.
Usually I use
SDL_CreateWindow("window", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 800, 600, SDL_WINDOW_OPENGL); SDL_GL_CreateContext(window);
How can I do the same with Metal? I found a SDL_WINDOW_VULKAN but no Metal equivalent.
Thanks for your time.