SDL_CopyGPUTextureToTexture

Performs a texture-to-texture 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_CopyGPUTextureToTexture

Parameters

copy_pass SDL_GPUCopyPass*

a copy pass handle.

source const(SDL_GPUTextureLocation)*

a source texture region.

destination const(SDL_GPUTextureLocation)*

a destination texture region.

w Uint32

the width of the region to copy.

h Uint32

the height of the region to copy.

d Uint32

the depth of the region to copy.

cycle bool

if true, cycles the destination texture if the destination texture is bound, otherwise overwrites the data.

Meta