SDL/examples/renderer/20-blending
2026-05-22 10:37:15 -04:00
..
blending.c examples/renderer/20-blending: Note when a blend mode is unsupported. 2026-05-22 10:37:15 -04:00
onmouseover.webp examples/renderer/20-blending: Make thumbnail/onmouseover match other examples. 2026-05-20 00:42:57 -04:00
README.txt
thumbnail.png examples/renderer/20-blending: Make thumbnail/onmouseover match other examples. 2026-05-20 00:42:57 -04:00

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