diff options
Diffstat (limited to 'manuals/chickadee/Framebuffers.html')
-rw-r--r-- | manuals/chickadee/Framebuffers.html | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/manuals/chickadee/Framebuffers.html b/manuals/chickadee/Framebuffers.html index d7bedc4..8eb50ce 100644 --- a/manuals/chickadee/Framebuffers.html +++ b/manuals/chickadee/Framebuffers.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> -<!-- Copyright (C) 2017 David Thompson davet@gnu.org +<!-- Copyright (C) 2017, 2018, 2019 David Thompson davet@gnu.org Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -13,6 +13,8 @@ A copy of the license is also available from the Free Software Foundation Web site at http://www.gnu.org/licenses/fdl.html. +* Chickadee: (chickadee). Game programming toolkit for Guile. + The document was typeset with http://www.texinfo.org/ (GNU Texinfo). --> @@ -31,7 +33,7 @@ http://www.texinfo.org/ (GNU Texinfo). <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents"> <link href="Graphics.html#Graphics" rel="up" title="Graphics"> <link href="Viewports.html#Viewports" rel="next" title="Viewports"> -<link href="Shaders.html#Shaders" rel="prev" title="Shaders"> +<link href="Blending.html#Blending" rel="prev" title="Blending"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} @@ -90,11 +92,11 @@ ul.no-bullet {list-style: none} <a name="Framebuffers"></a> <div class="header"> <p> -Next: <a href="Viewports.html#Viewports" accesskey="n" rel="next">Viewports</a>, Previous: <a href="Shaders.html#Shaders" accesskey="p" rel="prev">Shaders</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> +Next: <a href="Viewports.html#Viewports" accesskey="n" rel="next">Viewports</a>, Previous: <a href="Blending.html#Blending" accesskey="p" rel="prev">Blending</a>, Up: <a href="Graphics.html#Graphics" accesskey="u" rel="up">Graphics</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html#Index" title="Index" rel="index">Index</a>]</p> </div> <hr> <a name="Framebuffers-1"></a> -<h4 class="subsection">2.3.10 Framebuffers</h4> +<h4 class="subsection">2.3.8 Framebuffers</h4> <p>A framebuffer is a chunk of memory that the GPU can render things onto. By default, the framebuffer that is used for rendering is the @@ -107,7 +109,7 @@ post-processing shader could do any number of things: scaling, antialiasing, motion blur, etc. </p> <dl> -<dt><a name="index-make_002dframebuffer"></a>Procedure: <strong>make-framebuffer</strong> <em><var>width</var> <var>height</var> [#:min-filter 'linear] [#:mag-filter 'linear] [#:wrap-s 'repeat] [#:wrap-t 'repeat]</em></dt> +<dt><a name="index-make_002dframebuffer"></a>Procedure: <strong>make-framebuffer</strong> <em>width height [#:min-filter <code>linear</code>] [#:mag-filter <code>linear</code>] [#:wrap-s <code>repeat</code>] [#:wrap-t <code>repeat</code>]</em></dt> <dd> <p>Create a new framebuffer that is <var>width</var> pixels wide and <var>height</var> pixels high. </p> @@ -119,17 +121,17 @@ the best choice for pixel art games. </p></dd></dl> <dl> -<dt><a name="index-framebuffer_003f"></a>Procedure: <strong>framebuffer?</strong> <em><var>obj</var></em></dt> +<dt><a name="index-framebuffer_003f"></a>Procedure: <strong>framebuffer?</strong> <em>obj</em></dt> <dd><p>Return <code>#t</code> if <var>obj</var> is a framebuffer. </p></dd></dl> <dl> -<dt><a name="index-framebuffer_002dtexture"></a>Procedure: <strong>framebuffer-texture</strong> <em><var>fb</var></em></dt> +<dt><a name="index-framebuffer_002dtexture"></a>Procedure: <strong>framebuffer-texture</strong> <em>fb</em></dt> <dd><p>Return the texture backing the framebuffer <var>fb</var>. </p></dd></dl> <dl> -<dt><a name="index-framebuffer_002dviewport"></a>Procedure: <strong>framebuffer-viewport</strong> <em><var>fb</var></em></dt> +<dt><a name="index-framebuffer_002dviewport"></a>Procedure: <strong>framebuffer-viewport</strong> <em>fb</em></dt> <dd><p>Return the default viewport (see <a href="Viewports.html#Viewports">Viewports</a>) used by the framebuffer <var>fb</var>. </p></dd></dl> |