Function SDL_BlitGPUTexture

pub unsafe extern "C" fn SDL_BlitGPUTexture(
    command_buffer: *mut SDL_GPUCommandBuffer,
    info: *const SDL_GPUBlitInfo,
)
Available on crate feature dep_sdl3 only.
Expand description

Blits from a source texture region to a destination texture region.

This function must not be called inside of any pass.

§Parameters

  • command_buffer: a command buffer.
  • info: the blit info struct containing the blit parameters.

§Availability

This function is available since SDL 3.2.0.