Function SDL_BindGPUGraphicsPipeline

pub unsafe extern "C" fn SDL_BindGPUGraphicsPipeline(
    render_pass: *mut SDL_GPURenderPass,
    graphics_pipeline: *mut SDL_GPUGraphicsPipeline,
)
Available on crate feature dep_sdl3 only.
Expand description

Binds a graphics pipeline on a render pass to be used in rendering.

A graphics pipeline must be bound before making any draw calls.

§Parameters

  • render_pass: a render pass handle.
  • graphics_pipeline: the graphics pipeline to bind.

§Availability

This function is available since SDL 3.2.0.