Reference

SDL_DestroyGPUDevice(3)

Destroys a GPU context previously returned by SDL_CreateGPUDevice .

NAME

SDL_DestroyGPUDevice - 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)