SDL_CopyGPUBufferToBuffer

Performs a buffer-to-buffer copy.

This copy occurs on the GPU timeline. You may assume the copy has finished in subsequent commands.

extern (C) nothrow @nogc extern
void
SDL_CopyGPUBufferToBuffer

Parameters

copy_pass SDL_GPUCopyPass*

a copy pass handle.

source const(SDL_GPUBufferLocation)*

the buffer and offset to copy from.

destination const(SDL_GPUBufferLocation)*

the buffer and offset to copy to.

size Uint32

the length of the buffer to copy.

cycle bool

if true, cycles the destination buffer if it is already bound, otherwise overwrites the data.

Meta