SDL_Metal_GetLayer - Man Page

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

Synopsis

#include <SDL3/SDL_metal.h>

void * SDL_Metal_GetLayer(SDL_MetalView view);

Function Parameters

view

the SDL_MetalView object.

Return Value

Returns a pointer.

Availability

This function is available since SDL 3.2.0.

Referenced By

SDL_Metal_CreateView(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS