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.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_Metal_CreateView(3)

Referenced By

SDL_Metal_CreateView(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS