Function SDL_Metal_DestroyView

pub unsafe extern "C" fn SDL_Metal_DestroyView(view: *mut c_void)
Available on crate feature dep_sdl2 only.
Expand description

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