sdlMetalGetLayer function
Get a pointer to the backing CAMetalLayer for the given view.
\param view the SDL_MetalView object. \returns a pointer.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void * SDLCALL SDL_Metal_GetLayer(SDL_MetalView view)
Implementation
Pointer<NativeType> sdlMetalGetLayer(Pointer<NativeType> view) {
final sdlMetalGetLayerLookupFunction = libSdl3.lookupFunction<
Pointer<NativeType> Function(Pointer<NativeType> view),
Pointer<NativeType> Function(
Pointer<NativeType> view)>('SDL_Metal_GetLayer');
return sdlMetalGetLayerLookupFunction(view);
}