chickadee » sdl2 » render-draw-blend-mode-set!

render-draw-blend-mode rendererprocedure
render-draw-blend-mode-raw rendererprocedure
render-draw-blend-mode-set! renderer modesetter
set! (render-draw-blend-mode renderer) modesetter

Get or set the renderer's draw blend mode. This affects future drawing operations. See SDL_GetRenderDrawBlendMode and SDL_SetRenderDrawBlendMode. These procedures are available in sdl2 egg version 0.2.0 and higher.

  • render-draw-blend-mode returns a blend mode symbol:
    • 'none
    • 'blend
    • 'add
    • 'mod
  • render-draw-blend-mode-raw returns an integer.
  • The setters accept either a symbol or integer.