SDL_ReleaseGPUShader

Frees the given shader as soon as it is safe to do so.

You must not reference the shader after calling this function.

extern (C) nothrow @nogc extern
void
SDL_ReleaseGPUShader

Parameters

device SDL_GPUDevice*

a GPU context.

shader SDL_GPUShader*

a shader to be destroyed.

Meta