SDL_Metal_DestroyView - Man Page
Destroy an existing SDL_MetalView object.
Synopsis
#include <SDL3/SDL_metal.h> void SDL_Metal_DestroyView(SDL_MetalView view);
Description
This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was called after SDL_CreateWindow.
Function Parameters
- view
the SDL_MetalView object.
Thread Safety
This function should only be called on the main thread.
Availability
This function is available since SDL 3.2.0.
See Also
Referenced By
SDL 3.4.8 Simple Directmedia Layer SDL3 FUNCTIONS