destroy method
void
destroy()
Destroys a GPU context previously returned by SDL_CreateGPUDevice.
\param device a GPU Context to destroy.
\since This function is available since SDL 3.2.0.
\sa SDL_CreateGPUDevice
extern SDL_DECLSPEC void SDLCALL SDL_DestroyGPUDevice(SDL_GPUDevice *device)
See also:
Implementation
void destroy() => sdlDestroyGpuDevice(this);