Ubuntu Manpages

SDL_Metal_GetLayer

Get a pointer to the backing CAMetalLayer for the given view.

#include <SDL3/SDL_metal.h>
void * SDL_Metal_GetLayer(SDL_MetalView view);

the SDL_MetalView object.

Returns a pointer.

This function is available since SDL 3.2.0.