467 lines
17 KiB
HTML
467 lines
17 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>License — bgfx 1.0 documentation</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="index" title="Index"
|
|
href="genindex.html"/>
|
|
<link rel="search" title="Search" href="search.html"/>
|
|
<link rel="top" title="bgfx 1.0 documentation" href="index.html"/>
|
|
<link rel="prev" title="Tools" href="tools.html"/>
|
|
|
|
|
|
<script src="_static/js/modernizr.min.js"></script>
|
|
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
|
|
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search">
|
|
|
|
|
|
|
|
<a href="index.html" class="icon icon-home"> bgfx
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="version">
|
|
1.0
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
|
|
|
|
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a></li>
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">License</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="#license-bsd-2-clause">License (BSD 2-clause)</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#rd-party-libraries">3rd Party Libraries</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="#blendish-mit">Blendish (MIT)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#edtaa3-mit">edtaa3 (MIT)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#fcpp-bsd">fcpp (BSD)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#freetype">FreeType</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#nanovg-zlib">NanoVG (ZLIB)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#imgui-mit">ImGui (MIT)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#sdf-mit">SDF (MIT)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#stb-public-domain">stb (Public Domain)</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#vertex-cache-optimised-index-buffer-compression-bsd">Vertex Cache Optimised Index Buffer Compression (BSD)</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#assets">Assets</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">bgfx</a>
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="index.html">Docs</a> »</li>
|
|
|
|
<li>License</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<div class="section" id="license">
|
|
<h1>License<a class="headerlink" href="#license" title="Permalink to this headline">¶</a></h1>
|
|
<div class="section" id="license-bsd-2-clause">
|
|
<h2><a class="reference external" href="https://github.com/bkaradzic/bgfx/blob/master/LICENSE">License (BSD 2-clause)</a><a class="headerlink" href="#license-bsd-2-clause" title="Permalink to this headline">¶</a></h2>
|
|
<div class="highlight-default"><div class="highlight"><pre><span></span>Copyright 2010-2016 Branimir Karadzic. All rights reserved.
|
|
|
|
https://github.com/bkaradzic/bgfx
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright notice,
|
|
this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
this list of conditions and the following disclaimer in the documentation
|
|
and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR
|
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
|
EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
</pre></div>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="rd-party-libraries">
|
|
<h2>3rd Party Libraries<a class="headerlink" href="#rd-party-libraries" title="Permalink to this headline">¶</a></h2>
|
|
<p>All required 3rd party libraries are included in bgfx repository in
|
|
<a class="reference external" href="https://github.com/bkaradzic/bgfx/tree/master/3rdparty">3rdparty/</a>
|
|
directory.</p>
|
|
<div class="section" id="blendish-mit">
|
|
<h3>Blendish (MIT)<a class="headerlink" href="#blendish-mit" title="Permalink to this headline">¶</a></h3>
|
|
<p>Blendish - Blender 2.5 UI based theming functions for NanoVG.</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://bitbucket.org/duangle/oui-blendish">https://bitbucket.org/duangle/oui-blendish</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="edtaa3-mit">
|
|
<h3>edtaa3 (MIT)<a class="headerlink" href="#edtaa3-mit" title="Permalink to this headline">¶</a></h3>
|
|
<p>Contour Rendering by Distance Fields</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/OpenGLInsights/OpenGLInsightsCode/tree/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields">https://github.com/OpenGLInsights/OpenGLInsightsCode/tree/master/Chapter%2012%202D%20Shape%20Rendering%20by%20Distance%20Fields</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="fcpp-bsd">
|
|
<h3>fcpp (BSD)<a class="headerlink" href="#fcpp-bsd" title="Permalink to this headline">¶</a></h3>
|
|
<p>Frexx C preprocessor</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/bagder/fcpp">https://github.com/bagder/fcpp</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="forsyth-triangle-order-optimizer-public-domain">
|
|
<h3>Forsyth Triangle Order Optimizer (Public Domain)<a class="headerlink" href="#forsyth-triangle-order-optimizer-public-domain" title="Permalink to this headline">¶</a></h3>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://gameangst.com/?p=9">http://gameangst.com/?p=9</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="freetype">
|
|
<h3>FreeType<a class="headerlink" href="#freetype" title="Permalink to this headline">¶</a></h3>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.freetype.org/">http://www.freetype.org/</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="glsl-optimizer-mit">
|
|
<h3>glsl-optimizer (MIT)<a class="headerlink" href="#glsl-optimizer-mit" title="Permalink to this headline">¶</a></h3>
|
|
<p>GLSL optimizer based on Mesa’s GLSL compiler. Used in Unity for mobile
|
|
shader optimization.</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/aras-p/glsl-optimizer">https://github.com/aras-p/glsl-optimizer</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="nanovg-zlib">
|
|
<h3>NanoVG (ZLIB)<a class="headerlink" href="#nanovg-zlib" title="Permalink to this headline">¶</a></h3>
|
|
<p>NanoVG is small antialiased vector graphics rendering library.</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/memononen/nanovg">https://github.com/memononen/nanovg</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="imgui-mit">
|
|
<h3>ImGui (MIT)<a class="headerlink" href="#imgui-mit" title="Permalink to this headline">¶</a></h3>
|
|
<p>Bloat-free Immediate Mode Graphical User interface for C++ with minimal
|
|
dependencies.</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/ocornut/imgui">https://github.com/ocornut/imgui</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="sdf-mit">
|
|
<h3>SDF (MIT)<a class="headerlink" href="#sdf-mit" title="Permalink to this headline">¶</a></h3>
|
|
<p>Sweep-and-update Euclidean distance transform of an antialised image for
|
|
contour texturing.</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/memononen/SDF">https://github.com/memononen/SDF</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="stb-public-domain">
|
|
<h3>stb (Public Domain)<a class="headerlink" href="#stb-public-domain" title="Permalink to this headline">¶</a></h3>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://nothings.org">http://nothings.org</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
<div class="section" id="vertex-cache-optimised-index-buffer-compression-bsd">
|
|
<h3>Vertex Cache Optimised Index Buffer Compression (BSD)<a class="headerlink" href="#vertex-cache-optimised-index-buffer-compression-bsd" title="Permalink to this headline">¶</a></h3>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/ConorStokes/IndexBufferCompression">https://github.com/ConorStokes/IndexBufferCompression</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="assets">
|
|
<h2>Assets<a class="headerlink" href="#assets" title="Permalink to this headline">¶</a></h2>
|
|
<p>Bunny</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www-graphics.stanford.edu/data/3Dscanrep/">Stanford University Computer Graphics Laboratory</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Uffizi</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.pauldebevec.com/Probes/">Light Probe Image Gallery</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Wells</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://dativ.at/lightprobes/">Bernhard Vogl Light probes</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Pisa, Ennis, Grace</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://gl.ict.usc.edu/Data/HighResProbes/">High-Resolution Light Probe Image Gallery</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Droid Sans Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.fontsquirrel.com/license/Droid-Sans">http://www.fontsquirrel.com/license/Droid-Sans</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Bleeding Cowboys Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.dafont.com/bleeding-cowboys.font">http://www.dafont.com/bleeding-cowboys.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Cheap Fire Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.dafont.com/cheap-fire.font">http://www.dafont.com/cheap-fire.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Five Minutes Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.fonts2u.com/fiveminutes.font">http://www.fonts2u.com/fiveminutes.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Mias Scribblings Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.dafont.com/mias-scribblings.font">http://www.dafont.com/mias-scribblings.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Ruritania Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.dafont.com/ruritania.font">http://www.dafont.com/ruritania.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Signika Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://fontfabric.com/signika-font/">http://fontfabric.com/signika-font/</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Visitor Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.dafont.com/visitor.font">http://www.dafont.com/visitor.font</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Special-Elite Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.fontspace.com/astigmatic-one-eye-typographic-institute/special-elite">http://www.fontspace.com/astigmatic-one-eye-typographic-institute/special-elite</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>FontAwesome Font</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://fontawesome.io/">http://fontawesome.io/</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Sherlock Holmes text</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.gutenberg.org/ebooks/1661">http://www.gutenberg.org/ebooks/1661</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Tree Pack 1</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="http://www.turbosquid.com/3d-models/free-obj-mode-tree-pack/506851">http://www.turbosquid.com/3d-models/free-obj-mode-tree-pack/506851</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Light Transport Equation Orb</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://github.com/lighttransport/lighttransportequation-orb">https://github.com/lighttransport/lighttransportequation-orb</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
<p>Normal map texture (GFDL License)</p>
|
|
<blockquote>
|
|
<div><ul class="simple">
|
|
<li><a class="reference external" href="https://julianherzog.com/">Julian Herzog</a></li>
|
|
<li><a class="reference external" href="https://commons.wikimedia.org/wiki/File:Normal_map_example_with_scene_and_result.png">https://commons.wikimedia.org/wiki/File:Normal_map_example_with_scene_and_result.png</a></li>
|
|
</ul>
|
|
</div></blockquote>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
|
|
<a href="tools.html" class="btn btn-neutral" title="Tools" accesskey="p"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
© Copyright 2010-2016, Branimir Karadžić.
|
|
|
|
</p>
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT:'./',
|
|
VERSION:'1.0',
|
|
COLLAPSE_INDEX:false,
|
|
FILE_SUFFIX:'.html',
|
|
HAS_SOURCE: false
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
jQuery(function () {
|
|
SphinxRtdTheme.StickyNav.enable();
|
|
});
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html> |