SDL_BlitGPUTexture - Man Page

Blits from a source texture region to a destination texture region.

Header File

Defined in SDL3/SDL_gpu.h

Synopsis

#include "SDL3/SDL.h"

void SDL_BlitGPUTexture(
    SDL_GPUCommandBuffer *command_buffer,
    const SDL_GPUBlitInfo *info);

Description

This function must not be called inside of any pass.

Function Parameters

command_buffer

a command buffer.

info

the blit info struct containing the blit parameters.

Availability

This function is available since SDL 3.2.0.

Referenced By

SDL_CreateGPUTexture(3), SDL_GPUBlitInfo.3type(3), SDL_GPUBlitRegion.3type(3), SDL_GPUTexture.3type(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS