Function SDL_ReleaseGPUGraphicsPipeline

pub unsafe extern "C" fn SDL_ReleaseGPUGraphicsPipeline(
    device: *mut SDL_GPUDevice,
    graphics_pipeline: *mut SDL_GPUGraphicsPipeline,
)
Available on crate feature dep_sdl3 only.
Expand description

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

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

§Parameters

  • device: a GPU context.
  • graphics_pipeline: a graphics pipeline to be destroyed.

§Availability

This function is available since SDL 3.2.0.