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