chickadee » sdl2 » texture-blend-mode-set!

texture-blend-mode textureprocedure
texture-blend-mode-raw textureprocedure
set! (texture-blend-mode texture) modesetter
texture-blend-mode-set! texture modesetter

See SDL_GetTextureBlendMode and SDL_SetTextureBlendMode.

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

These procedures signal an exception of kind (exn sdl2) if an error occurs.

These procedures are available in sdl2 egg version 0.2.0 and higher.