SDL_Metal_GetLayer
Get a pointer to the backing CAMetalLayer for the given view.
- Provided by: libsdl3-doc (Version: 3.2.20+ds-2)
- Source: libsdl3
- Report a bug
Get a pointer to the backing CAMetalLayer for the given view.
#include <SDL3/SDL_metal.h>
void * SDL_Metal_GetLayer(SDL_MetalView view);
Returns a pointer.
This function is available since SDL 3.2.0.