| SDL_CopyGPUBufferToBuffer(3) | SDL3 FUNCTIONS | SDL_CopyGPUBufferToBuffer(3) |
SDL_CopyGPUBufferToBuffer - Performs a buffer-to-buffer copy.
Defined in SDL3/SDL_gpu.h
#include "SDL3/SDL.h"
void SDL_CopyGPUBufferToBuffer(
SDL_GPUCopyPass *copy_pass,
const SDL_GPUBufferLocation *source,
const SDL_GPUBufferLocation *destination,
Uint32 size,
bool cycle);
This copy occurs on the GPU timeline. You may assume the copy has finished in subsequent commands.
This function is available since SDL 3.2.0.
| SDL 3.2.10 | Simple Directmedia Layer |