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.html48
1 files changed, 24 insertions, 24 deletions
diff --git a/manuals/chickadee/Rendering-Engine.html b/manuals/chickadee/Rendering-Engine.html
index 1c90022..8f81fc6 100644
--- a/manuals/chickadee/Rendering-Engine.html
+++ b/manuals/chickadee/Rendering-Engine.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-2021 David Thompson davet@gnu.org
+<!-- Copyright (C) 2017-2023 David Thompson dthompson2@worcester.edu
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
@@ -17,25 +17,25 @@ 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.7, http://www.gnu.org/software/texinfo/ -->
+ -->
+<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Rendering Engine (The Chickadee Game Toolkit)</title>
-<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">
-<link href="index.html" rel="start" title="Top">
-<link href="Index.html" rel="index" title="Index">
-<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
-<link href="Graphics.html" rel="up" title="Graphics">
-<link href="Audio.html" rel="next" title="Audio">
-<link href="Render-Settings.html" rel="prev" title="Render Settings">
+<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" />
+<link href="index.html" rel="start" title="Top" />
+<link href="Index.html" rel="index" title="Index" />
+<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents" />
+<link href="Graphics.html" rel="up" title="Graphics" />
+<link href="Audio.html" rel="next" title="Audio" />
+<link href="Render-Settings.html" rel="prev" title="Render Settings" />
<style type="text/css">
-<!--
+&lt;!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
@@ -72,9 +72,9 @@ ul.no-bullet {list-style: none}
}
}
--->
+--&gt;
</style>
-<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css">
+<link rel="stylesheet" type="text/css" href="https://dthompson.us/css/dthompson.css" />
</head>
@@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}
<p>
Previous: <a href="Render-Settings.html" accesskey="p" rel="prev">Render Settings</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>
</div>
-<hr>
+<hr />
<span id="Rendering-Engine-1"></span><h4 class="subsection">5.3.17 Rendering Engine</h4>
<p>The <code>(chickadee graphics engine)</code> module provides a Scheme
@@ -94,10 +94,10 @@ and state changes happen within the context of this engine.
</p>
<p>Performing a custom draw call could look something like this:
</p>
-<div class="example">
-<pre class="example">(with-graphics-state ((g:blend-mode blend:alpha)
- (g:texture-0 my-texture))
- (shader-apply my-shader #:foo 1))
+<div class="lisp">
+<pre class="lisp"><span class="syntax-open">(</span><span class="syntax-symbol">with-graphics-state</span> <span class="syntax-open">(</span><span class="syntax-open">(</span><span class="syntax-symbol">g:blend-mode</span> <span class="syntax-symbol">blend:alpha</span><span class="syntax-close">)</span>
+ <span class="syntax-open">(</span><span class="syntax-symbol">g:texture-0</span> <span class="syntax-symbol">my-texture</span><span class="syntax-close">)</span><span class="syntax-close">)</span>
+ <span class="syntax-open">(</span><span class="syntax-symbol">shader-apply</span> <span class="syntax-symbol">my-shader</span> <span class="syntax-keyword">#:foo</span> <span class="syntax-symbol">1</span><span class="syntax-close">)</span><span class="syntax-close">)</span>
</pre></div>
<span id="Render-States"></span><h4 class="subsubsection">5.3.17.1 Render States</h4>
@@ -164,7 +164,7 @@ particle effects described in <a href="Particles.html">Particles</a> use instanc
vertices.
</p></dd></dl>
-<hr>
+<hr />
<div class="header">
<p>
Previous: <a href="Render-Settings.html" accesskey="p" rel="prev">Render Settings</a>, Up: <a href="Graphics.html" accesskey="u" rel="up">Graphics</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Index.html" title="Index" rel="index">Index</a>]</p>