logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                              SDL_Metal_GetLayer(3)

Function Parameters

view   the SDL_MetalView object.

Name

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

Return Value

       Returns a pointer.

Synopsis

#include<SDL3/SDL_metal.h>void*SDL_Metal_GetLayer(SDL_MetalViewview);

See Also