(This is the documentation for SDL3, which is under heavy development and the API is changing! SDL2 is the current stable version!)

SDL_Metal_DestroyView

Destroy an existing SDL_MetalView object.

Header File

Defined in <SDL3/SDL_metal.h>

Syntax

void SDL_Metal_DestroyView(SDL_MetalView view);

Function Parameters

view the SDL_MetalView object

Remarks

This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was called after SDL_CreateWindow.

Version

This function is available since SDL 3.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryMetal