summaryrefslogtreecommitdiff
path: root/manuals/guile-sdl2/Rendering.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/guile-sdl2/Rendering.html')
-rw-r--r--manuals/guile-sdl2/Rendering.html9
1 files changed, 9 insertions, 0 deletions
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
@@ -291,6 +291,15 @@ requires that renderer was created with the <code>texture</code> flag.
</p></dd></dl>
<dl>
+<dt id="index-update_002dtexture">Procedure: <strong>update-texture</strong> <em>texture rect pixels pitch</em></dt>
+<dd><p>Update the subsection of <var>texture</var> defined by <var>rect</var> with new
+pixel data in the <var>pixels</var> bytevector. <var>pitch</var> 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.
+</p></dd></dl>
+
+<dl>
<dt id="index-texture_002dcolor_002dmod">Procedure: <strong>texture-color-mod</strong> <em>texture</em></dt>
<dd><p>Get color mod of <var>texture</var> as a list of the integers.
</p></dd></dl>