diff options
author | Leo Prikler <leo.prikler@student.tugraz.at> | 2021-06-14 18:35:33 +0200 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-06-15 09:21:24 -0400 |
commit | 031605783e630d46b7294d6ac8bfbf5e4884bb82 (patch) | |
tree | 5f035448c22dedeec37a0d321165c7cbfdd99b2d /doc/api.texi | |
parent | ac42781f672a855ea6f1553b071055409501f2b0 (diff) |
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.
Diffstat (limited to 'doc/api.texi')
-rw-r--r-- | doc/api.texi | 5 |
1 files changed, 5 insertions, 0 deletions
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 |