SDL_ReleaseGPUBuffer

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

You must not reference the buffer after calling this function.

extern (C) nothrow @nogc extern
void
SDL_ReleaseGPUBuffer

Parameters

device SDL_GPUDevice*

a GPU context.

buffer SDL_GPUBuffer*

a buffer to be destroyed.

Meta