<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="generator" content="AsciiDoc 8.6.8">
<title>OpenGL</title>
<link rel="stylesheet" href="./asciidoc.css" type="text/css">
<link rel="stylesheet" href="./pygments.css" type="text/css">


<script type="text/javascript" src="./asciidoc.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
asciidoc.install();
/*]]>*/
</script>
<link rel="stylesheet" href="./mlton.css" type="text/css"/>
</head>
<body class="article">
<div id="banner">
<div id="banner-home">
<a href="./Home">MLton 20130715</a>
</div>
</div>
<div id="header">
<h1>OpenGL</h1>
</div>
<div id="content">
<div id="preamble">
<div class="sectionbody">
<div class="paragraph"><p>There are at least two interfaces to OpenGL for MLton/SML, both of
which should be considered alpha quality.</p></div>
<div class="ulist"><ul>
<li>
<p>
<a href="MikeThomas">MikeThomas</a> built a low-level interface, directly translating
many of the functions, covering GL, GLU, and GLUT.  This is available
in the MLton <a href="Sources">Sources</a>:
<a href="https://github.com/MLton/mltonlib/tree/master/org/mlton/mike/opengl"><span class="monospaced">opengl</span></a>.  The code
contains a number of small, standard OpenGL examples translated to
SML.
</p>
</li>
<li>
<p>
<a href="ChrisClearwater">ChrisClearwater</a> has written at least an interface to GL, and
possibly more.  See
</p>
<div class="ulist"><ul>
<li>
<p>
<a href="http://mlton.org/pipermail/mlton/2005-January/026669.html">http://mlton.org/pipermail/mlton/2005-January/026669.html</a>
</p>
</li>
</ul></div>
</li>
</ul></div>
<div class="paragraph"><p><a href="Contact">Contact</a> us for more information or an update on the status of
these projects.</p></div>
</div>
</div>
</div>
<div id="footnotes"><hr></div>
<div id="footer">
<div id="footer-text">
</div>
<div id="footer-badges">
</div>
</div>
</body>
</html>
