Scroll to navigation

SDL_BlitGPUTexture(3) SDL3 FUNCTIONS SDL_BlitGPUTexture(3)

NAME

SDL_BlitGPUTexture - 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

a command buffer.
the blit info struct containing the blit parameters.

AVAILABILITY

This function is available since SDL 3.1.3.

SDL 3.1.6 Simple Directmedia Layer