Scroll to navigation

SDL_Metal_GetLayer(3) SDL3 FUNCTIONS SDL_Metal_GetLayer(3)

NAME

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

SYNOPSIS

#include "SDL3/SDL.h"
void* SDL_Metal_GetLayer(SDL_MetalView view);

FUNCTION PARAMETERS

the SDL_MetalView
object

RETURN VALUE

Returns a pointer

AVAILABILITY

This function is available since SDL 3.0.0.

SDL 3.1.0 SDL