summaryrefslogtreecommitdiff
path: root/manuals/guile-sdl2/Rendering.html
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-23 07:47:17 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-25 07:24:01 -0400
commit77b393cb58cfd7790e5fa8bbea4186f6786cd24b (patch)
tree65949f91cea8b21cfb7e496e8dc2f79621db146c /manuals/guile-sdl2/Rendering.html
parent078afde332b361226a12151924952c3fe92ee4a9 (diff)
Update guile-sdl2 project for 0.8.0 release.
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>