sdlReleaseGpuTexture function gpu
Frees the given texture as soon as it is safe to do so.
You must not reference the texture after calling this function.
\param device a GPU context. \param texture a texture to be destroyed.
\since This function is available since SDL 3.2.0.
extern SDL_DECLSPEC void SDLCALL SDL_ReleaseGPUTexture( SDL_GPUDevice *device, SDL_GPUTexture *texture)
Implementation
void sdlReleaseGpuTexture(
  Pointer<SdlGpuDevice> device,
  Pointer<SdlGpuTexture> texture,
) {
  final sdlReleaseGpuTextureLookupFunction = _libSdl
      .lookupFunction<
        Void Function(
          Pointer<SdlGpuDevice> device,
          Pointer<SdlGpuTexture> texture,
        ),
        void Function(
          Pointer<SdlGpuDevice> device,
          Pointer<SdlGpuTexture> texture,
        )
      >('SDL_ReleaseGPUTexture');
  return sdlReleaseGpuTextureLookupFunction(device, texture);
}