- surface-color-mod surfaceprocedure
- surface-colour-mod surfaceprocedure
- set! (surface-color-mod surface) rgbsetter
- set! (surface-colour-mod surface) rgbsetter
- surface-color-mod-set! surface rgbsetter
- surface-colour-mod-set! surface rgbsetter
See SDL_GetSurfaceColorMod and SDL_SetSurfaceColorMod.
surface-color-mod and surface-colour-mod return multiple values.
The setters accept either a list (r g b) of color values, or an sdl2:color (the sdl2:color's "a" field will be ignored).
These procedures signal an exception of kind (exn sdl2) if an error occurs.