summaryrefslogtreecommitdiff
path: root/manuals/chickadee/Rendering-Engine.html
diff options
context:
space:
mode:
Diffstat (limited to 'manuals/chickadee/Rendering-Engine.html')
-rw-r--r--manuals/chickadee/Rendering-Engine.html71
1 files changed, 33 insertions, 38 deletions
diff --git a/manuals/chickadee/Rendering-Engine.html b/manuals/chickadee/Rendering-Engine.html
index 9bc09da..fa9f021 100644
--- a/manuals/chickadee/Rendering-Engine.html
+++ b/manuals/chickadee/Rendering-Engine.html
@@ -16,16 +16,16 @@ Foundation Web site at http://www.gnu.org/licenses/fdl.html.
The document was typeset with
http://www.texinfo.org/ (GNU Texinfo).
-->
-<!-- Created by GNU Texinfo 6.3, http://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
-<title>The Chickadee Game Toolkit: Rendering Engine</title>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Rendering Engine (The Chickadee Game Toolkit)</title>
-<meta name="description" content="The Chickadee Game Toolkit: Rendering Engine">
-<meta name="keywords" content="The Chickadee Game Toolkit: Rendering Engine">
+<meta name="description" content="Rendering Engine (The Chickadee Game Toolkit)">
+<meta name="keywords" content="Rendering Engine (The Chickadee Game Toolkit)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Index.html#Index" rel="index" title="Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
@@ -94,7 +94,7 @@ Next: <a href="Textures.html#Textures" accesskey="n" rel="next">Textures</a>, Up
</div>
<hr>
<a name="Rendering-Engine-1"></a>
-<h4 class="subsection">2.4.1 Rendering Engine</h4>
+<h4 class="subsection">2.3.1 Rendering Engine</h4>
<p>Chickadee defines rendering using a metaphor familiar to Scheme
programmers: procedure application. A shader (see <a href="Shaders.html#Shaders">Shaders</a>) is
@@ -113,8 +113,8 @@ would be tedious to have to have to specify them each time
<code>(chickadee render)</code> module.
</p>
<dl>
-<dt><a name="index-gpu_002dapply"></a>Scheme Syntax: <strong>gpu-apply</strong> <em><var>shader</var> <var>vertex-array</var> [#:uniform-key <var>uniform-value</var> ...]</em></dt>
-<dt><a name="index-gpu_002dapply_002a"></a>Scheme Syntax: <strong>gpu-apply*</strong> <em><var>shader</var> <var>vertex-array</var> <var>count</var> [#:uniform-key <var>uniform-value</var> ...]</em></dt>
+<dt><a name="index-gpu_002dapply"></a>Syntax: <strong>gpu-apply</strong> <em><var>shader</var> <var>vertex-array</var> [#:uniform-key <var>uniform-value</var> ...]</em></dt>
+<dt><a name="index-gpu_002dapply_002a"></a>Syntax: <strong>gpu-apply*</strong> <em><var>shader</var> <var>vertex-array</var> <var>count</var> [#:uniform-key <var>uniform-value</var> ...]</em></dt>
<dd>
<p>Render <var>vertex-array</var> using <var>shader</var> with the uniform values
specified in the following keyword arguments.
@@ -125,73 +125,68 @@ specified in the following keyword arguments.
</dd></dl>
<dl>
-<dt><a name="index-current_002dviewport"></a>Scheme Procedure: <strong>current-viewport</strong></dt>
-<dd><p>Return the currently bound viewport. See <a href="Viewports.html#Viewports">Viewports</a> for more
-details about using viewports.
+<dt><a name="index-current_002dviewport"></a>Procedure: <strong>current-viewport</strong></dt>
+<dd><p>Return the currently bound viewport (see <a href="Viewports.html#Viewports">Viewports</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-current_002dframebuffer"></a>Scheme Procedure: <strong>current-framebuffer</strong></dt>
-<dd><p>Return the currently bound framebuffer. See <a href="Framebuffers.html#Framebuffers">Framebuffers</a> for more
-details about using framebuffers.
+<dt><a name="index-current_002dframebuffer"></a>Procedure: <strong>current-framebuffer</strong></dt>
+<dd><p>Return the currently bound framebuffer (see <a href="Framebuffers.html#Framebuffers">Framebuffers</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-current_002dblend_002dmode"></a>Scheme Procedure: <strong>current-blend-mode</strong></dt>
-<dd><p>Return the currently bound blend mode. See <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a> for more details about using blend modes.
+<dt><a name="index-current_002dblend_002dmode"></a>Procedure: <strong>current-blend-mode</strong></dt>
+<dd><p>Return the currently bound blend mode (see <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-current_002ddepth_002dtest"></a>Scheme Procedure: <strong>current-depth-test</strong></dt>
-<dd><p>Return <code>#t</code> if depth testing is currently enabled.
-See <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a> for more details about using the
-depth test.
+<dt><a name="index-current_002ddepth_002dtest"></a>Procedure: <strong>current-depth-test</strong></dt>
+<dd><p>Return <code>#t</code> if depth testing is currently enabled (see <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-current_002dtexture"></a>Scheme Procedure: <strong>current-texture</strong></dt>
-<dd><p>Return the currently bound texture. See <a href="Textures.html#Textures">Textures</a> for more details
-about using textures.
+<dt><a name="index-current_002dtexture"></a>Procedure: <strong>current-texture</strong></dt>
+<dd><p>Return the currently bound texture (see <a href="Textures.html#Textures">Textures</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-current_002dprojection"></a>Scheme Procedure: <strong>current-projection</strong></dt>
-<dd><p>Return the currently bound projection matrix. See <a href="Matrices.html#Matrices">Matrices</a> for
-more details about matrices.
+<dt><a name="index-current_002dprojection"></a>Procedure: <strong>current-projection</strong></dt>
+<dd><p>Return the currently bound projection matrix (see <a href="Matrices.html#Matrices">Matrices</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002dviewport"></a>Scheme Syntax: <strong>with-viewport</strong> <em><var>viewport</var> <var>body</var> ...</em></dt>
-<dd><p>Evaluate <var>body</var> with the current viewport bound to <var>viewport</var>.
+<dt><a name="index-with_002dviewport"></a>Syntax: <strong>with-viewport</strong> <em><var>viewport</var> <var>body</var> ...</em></dt>
+<dd><p>Evaluate <var>body</var> with the current viewport bound to <var>viewport</var> (see <a href="Viewports.html#Viewports">Viewports</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002dframebuffer"></a>Scheme Syntax: <strong>with-framebuffer</strong> <em><var>framebuffer</var> <var>body</var> ...</em></dt>
+<dt><a name="index-with_002dframebuffer"></a>Syntax: <strong>with-framebuffer</strong> <em><var>framebuffer</var> <var>body</var> ...</em></dt>
<dd><p>Evaluate <var>body</var> with the current framebuffer bound to
-<var>framebuffer</var>.
+<var>framebuffer</var> (see <a href="Framebuffers.html#Framebuffers">Framebuffers</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002dblend_002dmode"></a>Scheme Syntax: <strong>with-blend-mode</strong> <em><var>blend-mode</var> <var>body</var> ...</em></dt>
+<dt><a name="index-with_002dblend_002dmode"></a>Syntax: <strong>with-blend-mode</strong> <em><var>blend-mode</var> <var>body</var> ...</em></dt>
<dd><p>Evaluate <var>body</var> with the current blend mode bound to
-<var>blend-mode</var>.
+<var>blend-mode</var> (see <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002ddepth_002dtest"></a>Scheme Syntax: <strong>with-depth-test</strong> <em><var>depth-test?</var> <var>body</var> ...</em></dt>
+<dt><a name="index-with_002ddepth_002dtest"></a>Syntax: <strong>with-depth-test</strong> <em><var>depth-test?</var> <var>body</var> ...</em></dt>
<dd><p>Evaluate <var>body</var> with the depth-test disabled if <var>depth-test?</var>
-is <code>#f</code>, or enabled otherwise.
+is <code>#f</code>, or enabled otherwise (see <a href="Blending-and-Depth-Testing.html#Blending-and-Depth-Testing">Blending and Depth Testing</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002dtexture"></a>Scheme Syntax: <strong>with-texture</strong> <em><var>texture</var> <var>body</var> ...</em></dt>
-<dd><p>Evaluate <var>body</var> with the current texture bound to <var>texture</var>.
+<dt><a name="index-with_002dtexture"></a>Syntax: <strong>with-texture</strong> <em><var>texture</var> <var>body</var> ...</em></dt>
+<dd><p>Evaluate <var>body</var> with the current texture bound to <var>texture</var>
+(see <a href="Textures.html#Textures">Textures</a>).
</p></dd></dl>
<dl>
-<dt><a name="index-with_002dprojection"></a>Scheme Syntax: <strong>with-projection</strong> <em><var>projection</var> <var>body</var> ...</em></dt>
+<dt><a name="index-with_002dprojection"></a>Syntax: <strong>with-projection</strong> <em><var>projection</var> <var>body</var> ...</em></dt>
<dd><p>Evaluate <var>body</var> with the current projection matrix bound to
-<var>projection</var>.
+<var>projection</var> (see <a href="Matrices.html#Matrices">Matrices</a>).
</p></dd></dl>
<hr>