Dunno if that is done correctly - so adjust to your needs.
Eg it is not really bound to a "renderer", so could become something like `SDLComposeCustomBlendMode()" or so ... or ... might even be directly useable without being "wrapped" - so adding the thing to "common.bmx" might be already enough.
sdl.mod/sdlrender.mod/common.bmx:
sdl.mod/sdlrender.mod/sdlrender.bmx:
This should allow to set custom blend modes to a renderer:
Dunno if that is done correctly - so adjust to your needs. Eg it is not really bound to a "renderer", so could become something like `SDLComposeCustomBlendMode()" or so ... or ... might even be directly useable without being "wrapped" - so adding the thing to "common.bmx" might be already enough.