sdlBlitGpuTexture function
Blits from a source texture region to a destination texture region.
This function must not be called inside of any pass.
\param command_buffer a command buffer. \param info the blit info struct containing the blit parameters.
\since This function is available since SDL 3.1.3.
extern SDL_DECLSPEC void SDLCALL SDL_BlitGPUTexture( SDL_GPUCommandBuffer *command_buffer, const SDL_GPUBlitInfo *info)
Implementation
void sdlBlitGpuTexture(
Pointer<SdlGpuCommandBuffer> commandBuffer, Pointer<SdlGpuBlitInfo> info) {
final sdlBlitGpuTextureLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlGpuCommandBuffer> commandBuffer,
Pointer<SdlGpuBlitInfo> info),
void Function(Pointer<SdlGpuCommandBuffer> commandBuffer,
Pointer<SdlGpuBlitInfo> info)>('SDL_BlitGPUTexture');
return sdlBlitGpuTextureLookupFunction(commandBuffer, info);
}