chickadee » sdl2 » texture-blend-mode

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 for built-in modes, or an integer for custom blend modes created with compose-custom-blend-mode.
  • 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.

Requires sdl2 egg 0.2.0 or higher.