Function SDL_BeginGPUCopyPass
pub unsafe extern "C" fn SDL_BeginGPUCopyPass(
command_buffer: *mut SDL_GPUCommandBuffer,
) -> *mut SDL_GPUCopyPass
Available on crate feature
dep_sdl3
only.Expand description
Begins a copy pass on a command buffer.
All operations related to copying to or from buffers or textures take place inside a copy pass. You must not begin another copy pass, or a render pass or compute pass before ending the copy pass.
§Parameters
command_buffer
: a command buffer.
§Return value
Returns a copy pass handle.
§Availability
This function is available since SDL 3.2.0.