###### (This is the legacy documentation for stable SDL2, the current stable version; [SDL3](https://wiki.libsdl.org/SDL3/) is the current development version.) # SDL_Metal_GetLayer Get a pointer to the backing CAMetalLayer for the given view. ## Syntax ```c void* SDL_Metal_GetLayer(SDL_MetalView view); ``` ## Version This function is available since SDL 2.0.14. ## Related Functions * [SDL_Metal_CreateView](SDL_Metal_CreateView) ---- [CategoryAPI](CategoryAPI)