This example uses SDL_SetTextureBlendMode() to apply blending to textures, and SDL_ComposeCustomBlendMode() to create a custom blend mode. You can also use SDL_SetRenderDrawBlendMode() to apply blending to the entire renderer, but it only affects filled rects and lines, not texture