SDL_ReleaseGPUTexture

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

You must not reference the texture after calling this function.

extern (C) nothrow @nogc extern
void
SDL_ReleaseGPUTexture

Parameters

device SDL_GPUDevice*

a GPU context.

texture SDL_GPUTexture*

a texture to be destroyed.

Meta