sdlMetalDestroyView function
void
sdlMetalDestroyView()
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.2.0.
\sa SDL_Metal_CreateView
extern SDL_DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view)
Implementation
void sdlMetalDestroyView() {
final sdlMetalDestroyViewLookupFunction = _libSdl
.lookupFunction<Void Function(), void Function()>(
'SDL_Metal_DestroyView',
);
return sdlMetalDestroyViewLookupFunction();
}