From 031605783e630d46b7294d6ac8bfbf5e4884bb82 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Mon, 14 Jun 2021 18:35:33 +0200 Subject: Add support for texture blend modes. * sdl2/bindings.scm (sdl-set-texture-blend-mode): New variable. * sdl2/render.scm (set-texture-blend-mode!): New variable. --- doc/api.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/api.texi b/doc/api.texi index 288d0a6..8a352a4 100644 --- a/doc/api.texi +++ b/doc/api.texi @@ -1254,6 +1254,11 @@ Set the color mod of @var{texture}. Set the alpha mod of @var{texture}. @end deffn +@deffn {Procedure} set-texture-blend-mode! texture blend-mode +Set the blend of @var{texture} to @var{blend-mode}. @xref{Blend +Modes} for more information. +@end deffn + @node Blend Modes @section Blend Modes -- cgit v1.2.3