From 77b393cb58cfd7790e5fa8bbea4186f6786cd24b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 23 Oct 2022 07:47:17 -0400 Subject: Update guile-sdl2 project for 0.8.0 release. --- manuals/guile-sdl2/Rendering.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'manuals/guile-sdl2/Rendering.html') diff --git a/manuals/guile-sdl2/Rendering.html b/manuals/guile-sdl2/Rendering.html index 87c0175..1d78865 100644 --- a/manuals/guile-sdl2/Rendering.html +++ b/manuals/guile-sdl2/Rendering.html @@ -290,6 +290,15 @@ requires that renderer was created with the texture flag.

Free the memory used by texture.

+
+
Procedure: update-texture texture rect pixels pitch
+

Update the subsection of texture defined by rect with new +pixel data in the pixels bytevector. pitch represents the +number of bytes in a row of pixel data, including any padding between +rows. This is a fairly slow process: Better to use the lock/unlock +mechanism in streaming textures. +

+
Procedure: texture-color-mod texture

Get color mod of texture as a list of the integers. -- cgit v1.2.3