my SDL_Rect $src .= new: x => 0, y => 0, w => 320, h => 200; SDL_RenderCopy($render, $tile, $src, SDL_Rect); ### blits the data array of, in this case 32 bit wide pixels (ARGB8888)