sdlMetalDestroyView function
Destroy an existing SDL_MetalView object.
This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was called after SDL_CreateWindow.
\since This function is available since SDL 2.0.12.
\sa SDL_Metal_CreateView
extern DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view)
Implementation
void sdlMetalDestroyView(Pointer<NativeType> view) {
final sdlMetalDestroyViewLookupFunction = libSdl2.lookupFunction<
Void Function(Pointer<NativeType> view),
void Function(Pointer<NativeType> view)>('SDL_Metal_DestroyView');
return sdlMetalDestroyViewLookupFunction(view);
}