Function SDL_ReleaseGPUComputePipeline

pub unsafe extern "C" fn SDL_ReleaseGPUComputePipeline(
    device: *mut SDL_GPUDevice,
    compute_pipeline: *mut SDL_GPUComputePipeline,
)
Available on crate feature dep_sdl3 only.
Expand description

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

You must not reference the compute pipeline after calling this function.

§Parameters

  • device: a GPU context.
  • compute_pipeline: a compute pipeline to be destroyed.

§Availability

This function is available since SDL 3.2.0.