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