SDL_Metal_GetLayer - Man Page

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

Header File

Defined in SDL3/SDL_metal.h

Synopsis

#include "SDL3/SDL.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.2 Simple Directmedia Layer SDL3 FUNCTIONS