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.

HEADER FILE

Defined in SDL3/SDL_metal.h

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.1.3.

SDL 3.1.6 Simple Directmedia Layer