Function SDL_SetGPUScissor

pub unsafe extern "C" fn SDL_SetGPUScissor(
    render_pass: *mut SDL_GPURenderPass,
    scissor: *const SDL_Rect,
)
Available on crate feature dep_sdl3 only.
Expand description

Sets the current scissor state on a command buffer.

§Parameters

  • render_pass: a render pass handle.
  • scissor: the scissor area to set.

§Availability

This function is available since SDL 3.2.0.