Get a pointer to the backing CAMetalLayer for the given view.
Defined in SDL_metal.h, but apps should use #include <SDL3/SDL.h>
void* SDL_Metal_GetLayer(SDL_MetalView view);
view | the SDL_MetalView object |
Returns a pointer
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction