SDL_DestroyGPUDevice - Man Page

Destroys a GPU context previously returned by SDL_CreateGPUDevice .

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#include "SDL3/SDL.h"

void SDL_DestroyGPUDevice(SDL_GPUDevice *device);

Function Parameters

device

a GPU Context to destroy.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_CreateGPUDevice(3)

Referenced By

SDL_CreateGPUDevice(3), SDL_CreateGPUDeviceWithProperties(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS