SDL_CopyGPUTextureToTexture - Performs a texture-to-texture copy.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_CopyGPUTextureToTexture(3)
Description
This copy occurs on the GPU timeline. You may assume the copy has finished in subsequent commands.
Function Parameters
copy_pass
a copy pass handle.
source a source texture region.
destination
a destination texture region.
w the width of the region to copy.
h the height of the region to copy.
d the depth of the region to copy.
cycle if true, cycles the destination texture if the destination texture is bound, otherwise overwrites
the data.
Name
SDL_CopyGPUTextureToTexture - Performs a texture-to-texture copy.
Synopsis
#include<SDL3/SDL_gpu.h>voidSDL_CopyGPUTextureToTexture(SDL_GPUCopyPass*copy_pass,constSDL_GPUTextureLocation*source,constSDL_GPUTextureLocation*destination,Uint32w,Uint32h,Uint32d,boolcycle);
