SDL_ReleaseGPUBuffer - Man Page
Frees the given buffer as soon as it is safe to do so.
Header File
Defined in SDL3/SDL_gpu.h
Synopsis
#include "SDL3/SDL.h" void SDL_ReleaseGPUBuffer( SDL_GPUDevice *device, SDL_GPUBuffer *buffer);
Description
You must not reference the buffer after calling this function.
Function Parameters
- device
a GPU context.
- buffer
a buffer to be destroyed.
Availability
This function is available since SDL 3.2.0.
Referenced By
SDL_CreateGPUBuffer(3), SDL_GPUBuffer.3type(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS