SDL_ReleaseGPUShader(3)
π SDL_ReleaseGPUShader π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, this one's short and sweet and honestly kinda iconic π
β¨ NAME β¨
SDL_ReleaseGPUShader β frees the given shader as soon as it is safe to do so π¦
β¨ SYNOPSIS β¨
#include <SDL3/SDL_gpu.h>
void SDL_ReleaseGPUShader(
SDL_GPUDevice *device,
SDL_GPUShader *shader);
β¨ DESCRIPTION β¨
She releases the shader for you, but likeβ¦ on her own schedule π
fr fr tho: you must not reference the shader after calling this function. not once. not even a lil peek. it's gone, she's gone, we don't talk about her anymore π
β¨ FUNCTION PARAMETERS β¨
deviceβ a GPU context π«Άshaderβ a shader to be destroyed π
β¨ AVAILABILITY β¨
this queen has been serving since SDL 3.2.0 β¨π
that's the whole page bestie, no cap, we ate and left no crumbs πΈ
this was brought to you by Simple Directmedia Layer, running SDL 3.4.18, and yeah that's the version, that's the vibe, periodt π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms