Branimir Karadžić 9 lat temu
rodzic
commit
16caef77a6

+ 6 - 68
_static/basic.css

@@ -4,7 +4,7 @@
  *
  * Sphinx stylesheet -- basic theme.
  *
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -197,10 +197,7 @@ h3:hover > a.headerlink,
 h4:hover > a.headerlink,
 h5:hover > a.headerlink,
 h6:hover > a.headerlink,
-dt:hover > a.headerlink,
-caption:hover > a.headerlink,
-p.caption:hover > a.headerlink,
-div.code-block-caption:hover > a.headerlink {
+dt:hover > a.headerlink {
     visibility: visible;
 }
 
@@ -317,13 +314,6 @@ table.docutils {
     border-collapse: collapse;
 }
 
-table caption span.caption-number {
-    font-style: italic;
-}
-
-table caption span.caption-text {
-}
-
 table.docutils td, table.docutils th {
     padding: 1px 8px 1px 5px;
     border-top: 0;
@@ -354,25 +344,6 @@ table.citation td {
     border-bottom: none;
 }
 
-/* -- figures --------------------------------------------------------------- */
-
-div.figure {
-    margin: 0.5em;
-    padding: 0.5em;
-}
-
-div.figure p.caption {
-    padding: 0.3em;
-}
-
-div.figure p.caption span.caption-number {
-    font-style: italic;
-}
-
-div.figure p.caption span.caption-text {
-}
-
-
 /* -- other body styles ----------------------------------------------------- */
 
 ol.arabic {
@@ -435,10 +406,6 @@ dl.glossary dt {
     font-size: 1.3em;
 }
 
-.sig-paren {
-    font-size: larger;
-}
-
 .versionmodified {
     font-style: italic;
 }
@@ -504,51 +471,22 @@ table.highlighttable td {
     padding: 0 0.5em 0 0.5em;
 }
 
-div.code-block-caption {
-    padding: 2px 5px;
-    font-size: small;
-}
-
-div.code-block-caption code {
-    background-color: transparent;
-}
-
-div.code-block-caption + div > div.highlight > pre {
-    margin-top: 0;
-}
-
-div.code-block-caption span.caption-number {
-    padding: 0.1em 0.3em;
-    font-style: italic;
-}
-
-div.code-block-caption span.caption-text {
-}
-
-div.literal-block-wrapper {
-    padding: 1em 1em 0;
-}
-
-div.literal-block-wrapper div.highlight {
-    margin: 0;
-}
-
-code.descname {
+tt.descname {
     background-color: transparent;
     font-weight: bold;
     font-size: 1.2em;
 }
 
-code.descclassname {
+tt.descclassname {
     background-color: transparent;
 }
 
-code.xref, a code {
+tt.xref, a tt {
     background-color: transparent;
     font-weight: bold;
 }
 
-h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
     background-color: transparent;
 }
 

Plik diff jest za duży
+ 0 - 0
_static/css/theme.css


+ 2 - 27
_static/doctools.js

@@ -4,7 +4,7 @@
  *
  * Sphinx JavaScript utilities for all documentation.
  *
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -91,30 +91,6 @@ jQuery.fn.highlightText = function(text, className) {
   });
 };
 
-/*
- * backward compatibility for jQuery.browser
- * This will be supported until firefox bug is fixed.
- */
-if (!jQuery.browser) {
-  jQuery.uaMatch = function(ua) {
-    ua = ua.toLowerCase();
-
-    var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
-      /(webkit)[ \/]([\w.]+)/.exec(ua) ||
-      /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
-      /(msie) ([\w.]+)/.exec(ua) ||
-      ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
-      [];
-
-    return {
-      browser: match[ 1 ] || "",
-      version: match[ 2 ] || "0"
-    };
-  };
-  jQuery.browser = {};
-  jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true;
-}
-
 /**
  * Small JavaScript module for the documentation.
  */
@@ -176,10 +152,9 @@ var Documentation = {
 
   /**
    * workaround a firefox stupidity
-   * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075
    */
   fixFirefoxAnchorBug : function() {
-    if (document.location.hash)
+    if (document.location.hash && $.browser.mozilla)
       window.setTimeout(function() {
         document.location.href += '';
       }, 10);

BIN
_static/down-pressed.png


BIN
_static/down.png


BIN
_static/file.png


BIN
_static/fonts/Inconsolata-Bold.ttf


BIN
_static/fonts/Inconsolata-Regular.ttf


BIN
_static/fonts/Lato-Bold.ttf


BIN
_static/fonts/Lato-Regular.ttf


BIN
_static/fonts/RobotoSlab-Bold.ttf


BIN
_static/fonts/RobotoSlab-Regular.ttf


BIN
_static/fonts/fontawesome-webfont.eot


Plik diff jest za duży
+ 22 - 21
_static/fonts/fontawesome-webfont.svg


BIN
_static/fonts/fontawesome-webfont.ttf


BIN
_static/fonts/fontawesome-webfont.woff


Plik diff jest za duży
+ 0 - 1
_static/jquery.js


+ 149 - 109
_static/js/theme.js

@@ -1,113 +1,153 @@
-function toggleCurrent (elem) {
-    var parent_li = elem.closest('li');
-    parent_li.siblings('li.current').removeClass('current');
-    parent_li.siblings().find('li.current').removeClass('current');
-    parent_li.find('> ul li.current').removeClass('current');
-    parent_li.toggleClass('current');
-}
+require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"sphinx-rtd-theme":[function(require,module,exports){
+var jQuery = (typeof(window) != 'undefined') ? window.jQuery : require('jquery');
+
+// Sphinx theme nav state
+function ThemeNav () {
+
+    var nav = {
+        navBar: null,
+        win: null,
+        winScroll: false,
+        winResize: false,
+        linkScroll: false,
+        winPosition: 0,
+        winHeight: null,
+        docHeight: null,
+        isRunning: null
+    };
+
+    nav.enable = function () {
+        var self = this;
+
+        jQuery(function ($) {
+            self.init($);
+
+            self.reset();
+            self.win.on('hashchange', self.reset);
+
+            // Set scroll monitor
+            self.win.on('scroll', function () {
+                if (!self.linkScroll) {
+                    self.winScroll = true;
+                }
+            });
+            setInterval(function () { if (self.winScroll) self.onScroll(); }, 25);
+
+            // Set resize monitor
+            self.win.on('resize', function () {
+                self.winResize = true;
+            });
+            setInterval(function () { if (self.winResize) self.onResize(); }, 25);
+            self.onResize();
+        });
+    };
+
+    nav.init = function ($) {
+        var doc = $(document),
+            self = this;
+
+        this.navBar = $('div.wy-side-scroll:first');
+        this.win = $(window);
+
+        // Set up javascript UX bits
+        $(document)
+            // Shift nav in mobile when clicking the menu.
+            .on('click', "[data-toggle='wy-nav-top']", function() {
+                $("[data-toggle='wy-nav-shift']").toggleClass("shift");
+                $("[data-toggle='rst-versions']").toggleClass("shift");
+            })
+
+            // Nav menu link click operations
+            .on('click', ".wy-menu-vertical .current ul li a", function() {
+                var target = $(this);
+                // Close menu when you click a link.
+                $("[data-toggle='wy-nav-shift']").removeClass("shift");
+                $("[data-toggle='rst-versions']").toggleClass("shift");
+                // Handle dynamic display of l3 and l4 nav lists
+                self.toggleCurrent(target);
+                self.hashChange();
+            })
+            .on('click', "[data-toggle='rst-current-version']", function() {
+                $("[data-toggle='rst-versions']").toggleClass("shift-up");
+            })
+
+        // Make tables responsive
+        $("table.docutils:not(.field-list)")
+            .wrap("<div class='wy-table-responsive'></div>");
 
-$(document).ready(function() {
-    // Shift nav in mobile when clicking the menu.
-    $(document).on('click', "[data-toggle='wy-nav-top']", function() {
-        $("[data-toggle='wy-nav-shift']").toggleClass("shift");
-        $("[data-toggle='rst-versions']").toggleClass("shift");
-    });
-    // Nav menu link click operations
-    $(document).on('click', ".wy-menu-vertical .current ul li a", function() {
-        var target = $(this);
-        // Close menu when you click a link.
-        $("[data-toggle='wy-nav-shift']").removeClass("shift");
-        $("[data-toggle='rst-versions']").toggleClass("shift");
-        // Handle dynamic display of l3 and l4 nav lists
-        toggleCurrent(target);
-        if (typeof(window.SphinxRtdTheme) != 'undefined') {
-            window.SphinxRtdTheme.StickyNav.hashChange();
+        // Add expand links to all parents of nested ul
+        $('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () {
+            var link = $(this);
+                expand = $('<span class="toctree-expand"></span>');
+            expand.on('click', function (ev) {
+                self.toggleCurrent(link);
+                ev.stopPropagation();
+                return false;
+            });
+            link.prepend(expand);
+        });
+    };
+
+    nav.reset = function () {
+        // Get anchor from URL and open up nested nav
+        var anchor = encodeURI(window.location.hash);
+        if (anchor) {
+            try {
+                var link = $('.wy-menu-vertical')
+                    .find('[href="' + anchor + '"]');
+                $('.wy-menu-vertical li.toctree-l1 li.current')
+                    .removeClass('current');
+                link.closest('li.toctree-l2').addClass('current');
+                link.closest('li.toctree-l3').addClass('current');
+                link.closest('li.toctree-l4').addClass('current');
+            }
+            catch (err) {
+                console.log("Error expanding nav for anchor", err);
+            }
         }
-    });
-    $(document).on('click', "[data-toggle='rst-current-version']", function() {
-        $("[data-toggle='rst-versions']").toggleClass("shift-up");
-    });
-    // Make tables responsive
-    $("table.docutils:not(.field-list)").wrap("<div class='wy-table-responsive'></div>");
-
-    // Add expand links to all parents of nested ul
-    $('.wy-menu-vertical ul').siblings('a').each(function () {
-        var link = $(this);
-            expand = $('<span class="toctree-expand"></span>');
-        expand.on('click', function (ev) {
-            toggleCurrent(link);
-            ev.stopPropagation();
-            return false;
+    };
+
+    nav.onScroll = function () {
+        this.winScroll = false;
+        var newWinPosition = this.win.scrollTop(),
+            winBottom = newWinPosition + this.winHeight,
+            navPosition = this.navBar.scrollTop(),
+            newNavPosition = navPosition + (newWinPosition - this.winPosition);
+        if (newWinPosition < 0 || winBottom > this.docHeight) {
+            return;
+        }
+        this.navBar.scrollTop(newNavPosition);
+        this.winPosition = newWinPosition;
+    };
+
+    nav.onResize = function () {
+        this.winResize = false;
+        this.winHeight = this.win.height();
+        this.docHeight = $(document).height();
+    };
+
+    nav.hashChange = function () {
+        this.linkScroll = true;
+        this.win.one('hashchange', function () {
+            this.linkScroll = false;
         });
-        link.prepend(expand);
-    });
-});
-
-// Sphinx theme state
-window.SphinxRtdTheme = (function (jquery) {
-    var stickyNav = (function () {
-        var navBar,
-            win,
-            winScroll = false,
-            linkScroll = false,
-            winPosition = 0,
-            enable = function () {
-                init();
-                reset();
-                win.on('hashchange', reset);
-
-                // Set scrolling
-                win.on('scroll', function () {
-                    if (!linkScroll) {
-                        winScroll = true;
-                    }
-                });
-                setInterval(function () {
-                    if (winScroll) {
-                        winScroll = false;
-                        var newWinPosition = win.scrollTop(),
-                            navPosition = navBar.scrollTop(),
-                            newNavPosition = navPosition + (newWinPosition - winPosition);
-                        navBar.scrollTop(newNavPosition);
-                        winPosition = newWinPosition;
-                    }
-                }, 25);
-            },
-            init = function () {
-                navBar = jquery('nav.wy-nav-side:first');
-                win = jquery(window);
-            },
-            reset = function () {
-                // Get anchor from URL and open up nested nav
-                var anchor = encodeURI(window.location.hash);
-                if (anchor) {
-                    try {
-                        var link = $('.wy-menu-vertical')
-                            .find('[href="' + anchor + '"]');
-                        $('.wy-menu-vertical li.toctree-l1 li.current')
-                            .removeClass('current');
-                        link.closest('li.toctree-l2').addClass('current');
-                        link.closest('li.toctree-l3').addClass('current');
-                        link.closest('li.toctree-l4').addClass('current');
-                    }
-                    catch (err) {
-                        console.log("Error expanding nav for anchor", err);
-                    }
-                }
-            },
-            hashChange = function () {
-                linkScroll = true;
-                win.one('hashchange', function () {
-                    linkScroll = false;
-                });
-            };
-        jquery(init);
-        return {
-            enable: enable,
-            hashChange: hashChange
-        };
-    }());
-    return {
-        StickyNav: stickyNav
     };
-}($));
+
+    nav.toggleCurrent = function (elem) {
+        var parent_li = elem.closest('li');
+        parent_li.siblings('li.current').removeClass('current');
+        parent_li.siblings().find('li.current').removeClass('current');
+        parent_li.find('> ul li.current').removeClass('current');
+        parent_li.toggleClass('current');
+    }
+
+    return nav;
+};
+
+module.exports.ThemeNav = ThemeNav();
+
+if (typeof(window) != 'undefined') {
+    window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav };
+}
+
+},{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]);

BIN
_static/minus.png


BIN
_static/plus.png


+ 0 - 1
_static/pygments.css

@@ -40,7 +40,6 @@
 .highlight .nv { color: #bb60d5 } /* Name.Variable */
 .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
 .highlight .w { color: #bbbbbb } /* Text.Whitespace */
-.highlight .mb { color: #208050 } /* Literal.Number.Bin */
 .highlight .mf { color: #208050 } /* Literal.Number.Float */
 .highlight .mh { color: #208050 } /* Literal.Number.Hex */
 .highlight .mi { color: #208050 } /* Literal.Number.Integer */

+ 2 - 2
_static/searchtools.js

@@ -4,7 +4,7 @@
  *
  * Sphinx JavaScript utilties for the full-text search.
  *
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -439,7 +439,7 @@ var Search = {
                   dataType: "text",
                   complete: function(jqxhr, textstatus) {
                     var data = jqxhr.responseText;
-                    if (data !== '' && data !== undefined) {
+                    if (data !== '') {
                       listItem.append(Search.makeSearchSummary(data, searchterms, hlterms));
                     }
                     Search.output.append(listItem);

+ 1226 - 31
_static/underscore.js

@@ -1,31 +1,1226 @@
-// Underscore.js 1.3.1
-// (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
-// Underscore is freely distributable under the MIT license.
-// Portions of Underscore are inspired or borrowed from Prototype,
-// Oliver Steele's Functional, and John Resig's Micro-Templating.
-// For all details and documentation:
-// http://documentcloud.github.com/underscore
-(function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source==
-c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c,
-h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each=
-b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a==
-null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect=
-function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e=
-e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck=
-function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})});
-return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a,
-c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest=
-b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]);
-return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,
-d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};
-var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,
-c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true:
-a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};
-b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments,
-1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)};
-b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"};
-b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/\//g,"&#x2F;")};b.mixin=function(a){j(b.functions(a),
-function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+
-u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]=
-function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain=
-true;return this};m.prototype.value=function(){return this._wrapped}}).call(this);
+//     Underscore.js 1.4.4
+//     http://underscorejs.org
+//     (c) 2009-2013 Jeremy Ashkenas, DocumentCloud Inc.
+//     Underscore may be freely distributed under the MIT license.
+
+(function() {
+
+  // Baseline setup
+  // --------------
+
+  // Establish the root object, `window` in the browser, or `global` on the server.
+  var root = this;
+
+  // Save the previous value of the `_` variable.
+  var previousUnderscore = root._;
+
+  // Establish the object that gets returned to break out of a loop iteration.
+  var breaker = {};
+
+  // Save bytes in the minified (but not gzipped) version:
+  var ArrayProto = Array.prototype, ObjProto = Object.prototype, FuncProto = Function.prototype;
+
+  // Create quick reference variables for speed access to core prototypes.
+  var push             = ArrayProto.push,
+      slice            = ArrayProto.slice,
+      concat           = ArrayProto.concat,
+      toString         = ObjProto.toString,
+      hasOwnProperty   = ObjProto.hasOwnProperty;
+
+  // All **ECMAScript 5** native function implementations that we hope to use
+  // are declared here.
+  var
+    nativeForEach      = ArrayProto.forEach,
+    nativeMap          = ArrayProto.map,
+    nativeReduce       = ArrayProto.reduce,
+    nativeReduceRight  = ArrayProto.reduceRight,
+    nativeFilter       = ArrayProto.filter,
+    nativeEvery        = ArrayProto.every,
+    nativeSome         = ArrayProto.some,
+    nativeIndexOf      = ArrayProto.indexOf,
+    nativeLastIndexOf  = ArrayProto.lastIndexOf,
+    nativeIsArray      = Array.isArray,
+    nativeKeys         = Object.keys,
+    nativeBind         = FuncProto.bind;
+
+  // Create a safe reference to the Underscore object for use below.
+  var _ = function(obj) {
+    if (obj instanceof _) return obj;
+    if (!(this instanceof _)) return new _(obj);
+    this._wrapped = obj;
+  };
+
+  // Export the Underscore object for **Node.js**, with
+  // backwards-compatibility for the old `require()` API. If we're in
+  // the browser, add `_` as a global object via a string identifier,
+  // for Closure Compiler "advanced" mode.
+  if (typeof exports !== 'undefined') {
+    if (typeof module !== 'undefined' && module.exports) {
+      exports = module.exports = _;
+    }
+    exports._ = _;
+  } else {
+    root._ = _;
+  }
+
+  // Current version.
+  _.VERSION = '1.4.4';
+
+  // Collection Functions
+  // --------------------
+
+  // The cornerstone, an `each` implementation, aka `forEach`.
+  // Handles objects with the built-in `forEach`, arrays, and raw objects.
+  // Delegates to **ECMAScript 5**'s native `forEach` if available.
+  var each = _.each = _.forEach = function(obj, iterator, context) {
+    if (obj == null) return;
+    if (nativeForEach && obj.forEach === nativeForEach) {
+      obj.forEach(iterator, context);
+    } else if (obj.length === +obj.length) {
+      for (var i = 0, l = obj.length; i < l; i++) {
+        if (iterator.call(context, obj[i], i, obj) === breaker) return;
+      }
+    } else {
+      for (var key in obj) {
+        if (_.has(obj, key)) {
+          if (iterator.call(context, obj[key], key, obj) === breaker) return;
+        }
+      }
+    }
+  };
+
+  // Return the results of applying the iterator to each element.
+  // Delegates to **ECMAScript 5**'s native `map` if available.
+  _.map = _.collect = function(obj, iterator, context) {
+    var results = [];
+    if (obj == null) return results;
+    if (nativeMap && obj.map === nativeMap) return obj.map(iterator, context);
+    each(obj, function(value, index, list) {
+      results[results.length] = iterator.call(context, value, index, list);
+    });
+    return results;
+  };
+
+  var reduceError = 'Reduce of empty array with no initial value';
+
+  // **Reduce** builds up a single result from a list of values, aka `inject`,
+  // or `foldl`. Delegates to **ECMAScript 5**'s native `reduce` if available.
+  _.reduce = _.foldl = _.inject = function(obj, iterator, memo, context) {
+    var initial = arguments.length > 2;
+    if (obj == null) obj = [];
+    if (nativeReduce && obj.reduce === nativeReduce) {
+      if (context) iterator = _.bind(iterator, context);
+      return initial ? obj.reduce(iterator, memo) : obj.reduce(iterator);
+    }
+    each(obj, function(value, index, list) {
+      if (!initial) {
+        memo = value;
+        initial = true;
+      } else {
+        memo = iterator.call(context, memo, value, index, list);
+      }
+    });
+    if (!initial) throw new TypeError(reduceError);
+    return memo;
+  };
+
+  // The right-associative version of reduce, also known as `foldr`.
+  // Delegates to **ECMAScript 5**'s native `reduceRight` if available.
+  _.reduceRight = _.foldr = function(obj, iterator, memo, context) {
+    var initial = arguments.length > 2;
+    if (obj == null) obj = [];
+    if (nativeReduceRight && obj.reduceRight === nativeReduceRight) {
+      if (context) iterator = _.bind(iterator, context);
+      return initial ? obj.reduceRight(iterator, memo) : obj.reduceRight(iterator);
+    }
+    var length = obj.length;
+    if (length !== +length) {
+      var keys = _.keys(obj);
+      length = keys.length;
+    }
+    each(obj, function(value, index, list) {
+      index = keys ? keys[--length] : --length;
+      if (!initial) {
+        memo = obj[index];
+        initial = true;
+      } else {
+        memo = iterator.call(context, memo, obj[index], index, list);
+      }
+    });
+    if (!initial) throw new TypeError(reduceError);
+    return memo;
+  };
+
+  // Return the first value which passes a truth test. Aliased as `detect`.
+  _.find = _.detect = function(obj, iterator, context) {
+    var result;
+    any(obj, function(value, index, list) {
+      if (iterator.call(context, value, index, list)) {
+        result = value;
+        return true;
+      }
+    });
+    return result;
+  };
+
+  // Return all the elements that pass a truth test.
+  // Delegates to **ECMAScript 5**'s native `filter` if available.
+  // Aliased as `select`.
+  _.filter = _.select = function(obj, iterator, context) {
+    var results = [];
+    if (obj == null) return results;
+    if (nativeFilter && obj.filter === nativeFilter) return obj.filter(iterator, context);
+    each(obj, function(value, index, list) {
+      if (iterator.call(context, value, index, list)) results[results.length] = value;
+    });
+    return results;
+  };
+
+  // Return all the elements for which a truth test fails.
+  _.reject = function(obj, iterator, context) {
+    return _.filter(obj, function(value, index, list) {
+      return !iterator.call(context, value, index, list);
+    }, context);
+  };
+
+  // Determine whether all of the elements match a truth test.
+  // Delegates to **ECMAScript 5**'s native `every` if available.
+  // Aliased as `all`.
+  _.every = _.all = function(obj, iterator, context) {
+    iterator || (iterator = _.identity);
+    var result = true;
+    if (obj == null) return result;
+    if (nativeEvery && obj.every === nativeEvery) return obj.every(iterator, context);
+    each(obj, function(value, index, list) {
+      if (!(result = result && iterator.call(context, value, index, list))) return breaker;
+    });
+    return !!result;
+  };
+
+  // Determine if at least one element in the object matches a truth test.
+  // Delegates to **ECMAScript 5**'s native `some` if available.
+  // Aliased as `any`.
+  var any = _.some = _.any = function(obj, iterator, context) {
+    iterator || (iterator = _.identity);
+    var result = false;
+    if (obj == null) return result;
+    if (nativeSome && obj.some === nativeSome) return obj.some(iterator, context);
+    each(obj, function(value, index, list) {
+      if (result || (result = iterator.call(context, value, index, list))) return breaker;
+    });
+    return !!result;
+  };
+
+  // Determine if the array or object contains a given value (using `===`).
+  // Aliased as `include`.
+  _.contains = _.include = function(obj, target) {
+    if (obj == null) return false;
+    if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
+    return any(obj, function(value) {
+      return value === target;
+    });
+  };
+
+  // Invoke a method (with arguments) on every item in a collection.
+  _.invoke = function(obj, method) {
+    var args = slice.call(arguments, 2);
+    var isFunc = _.isFunction(method);
+    return _.map(obj, function(value) {
+      return (isFunc ? method : value[method]).apply(value, args);
+    });
+  };
+
+  // Convenience version of a common use case of `map`: fetching a property.
+  _.pluck = function(obj, key) {
+    return _.map(obj, function(value){ return value[key]; });
+  };
+
+  // Convenience version of a common use case of `filter`: selecting only objects
+  // containing specific `key:value` pairs.
+  _.where = function(obj, attrs, first) {
+    if (_.isEmpty(attrs)) return first ? null : [];
+    return _[first ? 'find' : 'filter'](obj, function(value) {
+      for (var key in attrs) {
+        if (attrs[key] !== value[key]) return false;
+      }
+      return true;
+    });
+  };
+
+  // Convenience version of a common use case of `find`: getting the first object
+  // containing specific `key:value` pairs.
+  _.findWhere = function(obj, attrs) {
+    return _.where(obj, attrs, true);
+  };
+
+  // Return the maximum element or (element-based computation).
+  // Can't optimize arrays of integers longer than 65,535 elements.
+  // See: https://bugs.webkit.org/show_bug.cgi?id=80797
+  _.max = function(obj, iterator, context) {
+    if (!iterator && _.isArray(obj) && obj[0] === +obj[0] && obj.length < 65535) {
+      return Math.max.apply(Math, obj);
+    }
+    if (!iterator && _.isEmpty(obj)) return -Infinity;
+    var result = {computed : -Infinity, value: -Infinity};
+    each(obj, function(value, index, list) {
+      var computed = iterator ? iterator.call(context, value, index, list) : value;
+      computed >= result.computed && (result = {value : value, computed : computed});
+    });
+    return result.value;
+  };
+
+  // Return the minimum element (or element-based computation).
+  _.min = function(obj, iterator, context) {
+    if (!iterator && _.isArray(obj) && obj[0] === +obj[0] && obj.length < 65535) {
+      return Math.min.apply(Math, obj);
+    }
+    if (!iterator && _.isEmpty(obj)) return Infinity;
+    var result = {computed : Infinity, value: Infinity};
+    each(obj, function(value, index, list) {
+      var computed = iterator ? iterator.call(context, value, index, list) : value;
+      computed < result.computed && (result = {value : value, computed : computed});
+    });
+    return result.value;
+  };
+
+  // Shuffle an array.
+  _.shuffle = function(obj) {
+    var rand;
+    var index = 0;
+    var shuffled = [];
+    each(obj, function(value) {
+      rand = _.random(index++);
+      shuffled[index - 1] = shuffled[rand];
+      shuffled[rand] = value;
+    });
+    return shuffled;
+  };
+
+  // An internal function to generate lookup iterators.
+  var lookupIterator = function(value) {
+    return _.isFunction(value) ? value : function(obj){ return obj[value]; };
+  };
+
+  // Sort the object's values by a criterion produced by an iterator.
+  _.sortBy = function(obj, value, context) {
+    var iterator = lookupIterator(value);
+    return _.pluck(_.map(obj, function(value, index, list) {
+      return {
+        value : value,
+        index : index,
+        criteria : iterator.call(context, value, index, list)
+      };
+    }).sort(function(left, right) {
+      var a = left.criteria;
+      var b = right.criteria;
+      if (a !== b) {
+        if (a > b || a === void 0) return 1;
+        if (a < b || b === void 0) return -1;
+      }
+      return left.index < right.index ? -1 : 1;
+    }), 'value');
+  };
+
+  // An internal function used for aggregate "group by" operations.
+  var group = function(obj, value, context, behavior) {
+    var result = {};
+    var iterator = lookupIterator(value || _.identity);
+    each(obj, function(value, index) {
+      var key = iterator.call(context, value, index, obj);
+      behavior(result, key, value);
+    });
+    return result;
+  };
+
+  // Groups the object's values by a criterion. Pass either a string attribute
+  // to group by, or a function that returns the criterion.
+  _.groupBy = function(obj, value, context) {
+    return group(obj, value, context, function(result, key, value) {
+      (_.has(result, key) ? result[key] : (result[key] = [])).push(value);
+    });
+  };
+
+  // Counts instances of an object that group by a certain criterion. Pass
+  // either a string attribute to count by, or a function that returns the
+  // criterion.
+  _.countBy = function(obj, value, context) {
+    return group(obj, value, context, function(result, key) {
+      if (!_.has(result, key)) result[key] = 0;
+      result[key]++;
+    });
+  };
+
+  // Use a comparator function to figure out the smallest index at which
+  // an object should be inserted so as to maintain order. Uses binary search.
+  _.sortedIndex = function(array, obj, iterator, context) {
+    iterator = iterator == null ? _.identity : lookupIterator(iterator);
+    var value = iterator.call(context, obj);
+    var low = 0, high = array.length;
+    while (low < high) {
+      var mid = (low + high) >>> 1;
+      iterator.call(context, array[mid]) < value ? low = mid + 1 : high = mid;
+    }
+    return low;
+  };
+
+  // Safely convert anything iterable into a real, live array.
+  _.toArray = function(obj) {
+    if (!obj) return [];
+    if (_.isArray(obj)) return slice.call(obj);
+    if (obj.length === +obj.length) return _.map(obj, _.identity);
+    return _.values(obj);
+  };
+
+  // Return the number of elements in an object.
+  _.size = function(obj) {
+    if (obj == null) return 0;
+    return (obj.length === +obj.length) ? obj.length : _.keys(obj).length;
+  };
+
+  // Array Functions
+  // ---------------
+
+  // Get the first element of an array. Passing **n** will return the first N
+  // values in the array. Aliased as `head` and `take`. The **guard** check
+  // allows it to work with `_.map`.
+  _.first = _.head = _.take = function(array, n, guard) {
+    if (array == null) return void 0;
+    return (n != null) && !guard ? slice.call(array, 0, n) : array[0];
+  };
+
+  // Returns everything but the last entry of the array. Especially useful on
+  // the arguments object. Passing **n** will return all the values in
+  // the array, excluding the last N. The **guard** check allows it to work with
+  // `_.map`.
+  _.initial = function(array, n, guard) {
+    return slice.call(array, 0, array.length - ((n == null) || guard ? 1 : n));
+  };
+
+  // Get the last element of an array. Passing **n** will return the last N
+  // values in the array. The **guard** check allows it to work with `_.map`.
+  _.last = function(array, n, guard) {
+    if (array == null) return void 0;
+    if ((n != null) && !guard) {
+      return slice.call(array, Math.max(array.length - n, 0));
+    } else {
+      return array[array.length - 1];
+    }
+  };
+
+  // Returns everything but the first entry of the array. Aliased as `tail` and `drop`.
+  // Especially useful on the arguments object. Passing an **n** will return
+  // the rest N values in the array. The **guard**
+  // check allows it to work with `_.map`.
+  _.rest = _.tail = _.drop = function(array, n, guard) {
+    return slice.call(array, (n == null) || guard ? 1 : n);
+  };
+
+  // Trim out all falsy values from an array.
+  _.compact = function(array) {
+    return _.filter(array, _.identity);
+  };
+
+  // Internal implementation of a recursive `flatten` function.
+  var flatten = function(input, shallow, output) {
+    each(input, function(value) {
+      if (_.isArray(value)) {
+        shallow ? push.apply(output, value) : flatten(value, shallow, output);
+      } else {
+        output.push(value);
+      }
+    });
+    return output;
+  };
+
+  // Return a completely flattened version of an array.
+  _.flatten = function(array, shallow) {
+    return flatten(array, shallow, []);
+  };
+
+  // Return a version of the array that does not contain the specified value(s).
+  _.without = function(array) {
+    return _.difference(array, slice.call(arguments, 1));
+  };
+
+  // Produce a duplicate-free version of the array. If the array has already
+  // been sorted, you have the option of using a faster algorithm.
+  // Aliased as `unique`.
+  _.uniq = _.unique = function(array, isSorted, iterator, context) {
+    if (_.isFunction(isSorted)) {
+      context = iterator;
+      iterator = isSorted;
+      isSorted = false;
+    }
+    var initial = iterator ? _.map(array, iterator, context) : array;
+    var results = [];
+    var seen = [];
+    each(initial, function(value, index) {
+      if (isSorted ? (!index || seen[seen.length - 1] !== value) : !_.contains(seen, value)) {
+        seen.push(value);
+        results.push(array[index]);
+      }
+    });
+    return results;
+  };
+
+  // Produce an array that contains the union: each distinct element from all of
+  // the passed-in arrays.
+  _.union = function() {
+    return _.uniq(concat.apply(ArrayProto, arguments));
+  };
+
+  // Produce an array that contains every item shared between all the
+  // passed-in arrays.
+  _.intersection = function(array) {
+    var rest = slice.call(arguments, 1);
+    return _.filter(_.uniq(array), function(item) {
+      return _.every(rest, function(other) {
+        return _.indexOf(other, item) >= 0;
+      });
+    });
+  };
+
+  // Take the difference between one array and a number of other arrays.
+  // Only the elements present in just the first array will remain.
+  _.difference = function(array) {
+    var rest = concat.apply(ArrayProto, slice.call(arguments, 1));
+    return _.filter(array, function(value){ return !_.contains(rest, value); });
+  };
+
+  // Zip together multiple lists into a single array -- elements that share
+  // an index go together.
+  _.zip = function() {
+    var args = slice.call(arguments);
+    var length = _.max(_.pluck(args, 'length'));
+    var results = new Array(length);
+    for (var i = 0; i < length; i++) {
+      results[i] = _.pluck(args, "" + i);
+    }
+    return results;
+  };
+
+  // Converts lists into objects. Pass either a single array of `[key, value]`
+  // pairs, or two parallel arrays of the same length -- one of keys, and one of
+  // the corresponding values.
+  _.object = function(list, values) {
+    if (list == null) return {};
+    var result = {};
+    for (var i = 0, l = list.length; i < l; i++) {
+      if (values) {
+        result[list[i]] = values[i];
+      } else {
+        result[list[i][0]] = list[i][1];
+      }
+    }
+    return result;
+  };
+
+  // If the browser doesn't supply us with indexOf (I'm looking at you, **MSIE**),
+  // we need this function. Return the position of the first occurrence of an
+  // item in an array, or -1 if the item is not included in the array.
+  // Delegates to **ECMAScript 5**'s native `indexOf` if available.
+  // If the array is large and already in sort order, pass `true`
+  // for **isSorted** to use binary search.
+  _.indexOf = function(array, item, isSorted) {
+    if (array == null) return -1;
+    var i = 0, l = array.length;
+    if (isSorted) {
+      if (typeof isSorted == 'number') {
+        i = (isSorted < 0 ? Math.max(0, l + isSorted) : isSorted);
+      } else {
+        i = _.sortedIndex(array, item);
+        return array[i] === item ? i : -1;
+      }
+    }
+    if (nativeIndexOf && array.indexOf === nativeIndexOf) return array.indexOf(item, isSorted);
+    for (; i < l; i++) if (array[i] === item) return i;
+    return -1;
+  };
+
+  // Delegates to **ECMAScript 5**'s native `lastIndexOf` if available.
+  _.lastIndexOf = function(array, item, from) {
+    if (array == null) return -1;
+    var hasIndex = from != null;
+    if (nativeLastIndexOf && array.lastIndexOf === nativeLastIndexOf) {
+      return hasIndex ? array.lastIndexOf(item, from) : array.lastIndexOf(item);
+    }
+    var i = (hasIndex ? from : array.length);
+    while (i--) if (array[i] === item) return i;
+    return -1;
+  };
+
+  // Generate an integer Array containing an arithmetic progression. A port of
+  // the native Python `range()` function. See
+  // [the Python documentation](http://docs.python.org/library/functions.html#range).
+  _.range = function(start, stop, step) {
+    if (arguments.length <= 1) {
+      stop = start || 0;
+      start = 0;
+    }
+    step = arguments[2] || 1;
+
+    var len = Math.max(Math.ceil((stop - start) / step), 0);
+    var idx = 0;
+    var range = new Array(len);
+
+    while(idx < len) {
+      range[idx++] = start;
+      start += step;
+    }
+
+    return range;
+  };
+
+  // Function (ahem) Functions
+  // ------------------
+
+  // Create a function bound to a given object (assigning `this`, and arguments,
+  // optionally). Delegates to **ECMAScript 5**'s native `Function.bind` if
+  // available.
+  _.bind = function(func, context) {
+    if (func.bind === nativeBind && nativeBind) return nativeBind.apply(func, slice.call(arguments, 1));
+    var args = slice.call(arguments, 2);
+    return function() {
+      return func.apply(context, args.concat(slice.call(arguments)));
+    };
+  };
+
+  // Partially apply a function by creating a version that has had some of its
+  // arguments pre-filled, without changing its dynamic `this` context.
+  _.partial = function(func) {
+    var args = slice.call(arguments, 1);
+    return function() {
+      return func.apply(this, args.concat(slice.call(arguments)));
+    };
+  };
+
+  // Bind all of an object's methods to that object. Useful for ensuring that
+  // all callbacks defined on an object belong to it.
+  _.bindAll = function(obj) {
+    var funcs = slice.call(arguments, 1);
+    if (funcs.length === 0) funcs = _.functions(obj);
+    each(funcs, function(f) { obj[f] = _.bind(obj[f], obj); });
+    return obj;
+  };
+
+  // Memoize an expensive function by storing its results.
+  _.memoize = function(func, hasher) {
+    var memo = {};
+    hasher || (hasher = _.identity);
+    return function() {
+      var key = hasher.apply(this, arguments);
+      return _.has(memo, key) ? memo[key] : (memo[key] = func.apply(this, arguments));
+    };
+  };
+
+  // Delays a function for the given number of milliseconds, and then calls
+  // it with the arguments supplied.
+  _.delay = function(func, wait) {
+    var args = slice.call(arguments, 2);
+    return setTimeout(function(){ return func.apply(null, args); }, wait);
+  };
+
+  // Defers a function, scheduling it to run after the current call stack has
+  // cleared.
+  _.defer = function(func) {
+    return _.delay.apply(_, [func, 1].concat(slice.call(arguments, 1)));
+  };
+
+  // Returns a function, that, when invoked, will only be triggered at most once
+  // during a given window of time.
+  _.throttle = function(func, wait) {
+    var context, args, timeout, result;
+    var previous = 0;
+    var later = function() {
+      previous = new Date;
+      timeout = null;
+      result = func.apply(context, args);
+    };
+    return function() {
+      var now = new Date;
+      var remaining = wait - (now - previous);
+      context = this;
+      args = arguments;
+      if (remaining <= 0) {
+        clearTimeout(timeout);
+        timeout = null;
+        previous = now;
+        result = func.apply(context, args);
+      } else if (!timeout) {
+        timeout = setTimeout(later, remaining);
+      }
+      return result;
+    };
+  };
+
+  // Returns a function, that, as long as it continues to be invoked, will not
+  // be triggered. The function will be called after it stops being called for
+  // N milliseconds. If `immediate` is passed, trigger the function on the
+  // leading edge, instead of the trailing.
+  _.debounce = function(func, wait, immediate) {
+    var timeout, result;
+    return function() {
+      var context = this, args = arguments;
+      var later = function() {
+        timeout = null;
+        if (!immediate) result = func.apply(context, args);
+      };
+      var callNow = immediate && !timeout;
+      clearTimeout(timeout);
+      timeout = setTimeout(later, wait);
+      if (callNow) result = func.apply(context, args);
+      return result;
+    };
+  };
+
+  // Returns a function that will be executed at most one time, no matter how
+  // often you call it. Useful for lazy initialization.
+  _.once = function(func) {
+    var ran = false, memo;
+    return function() {
+      if (ran) return memo;
+      ran = true;
+      memo = func.apply(this, arguments);
+      func = null;
+      return memo;
+    };
+  };
+
+  // Returns the first function passed as an argument to the second,
+  // allowing you to adjust arguments, run code before and after, and
+  // conditionally execute the original function.
+  _.wrap = function(func, wrapper) {
+    return function() {
+      var args = [func];
+      push.apply(args, arguments);
+      return wrapper.apply(this, args);
+    };
+  };
+
+  // Returns a function that is the composition of a list of functions, each
+  // consuming the return value of the function that follows.
+  _.compose = function() {
+    var funcs = arguments;
+    return function() {
+      var args = arguments;
+      for (var i = funcs.length - 1; i >= 0; i--) {
+        args = [funcs[i].apply(this, args)];
+      }
+      return args[0];
+    };
+  };
+
+  // Returns a function that will only be executed after being called N times.
+  _.after = function(times, func) {
+    if (times <= 0) return func();
+    return function() {
+      if (--times < 1) {
+        return func.apply(this, arguments);
+      }
+    };
+  };
+
+  // Object Functions
+  // ----------------
+
+  // Retrieve the names of an object's properties.
+  // Delegates to **ECMAScript 5**'s native `Object.keys`
+  _.keys = nativeKeys || function(obj) {
+    if (obj !== Object(obj)) throw new TypeError('Invalid object');
+    var keys = [];
+    for (var key in obj) if (_.has(obj, key)) keys[keys.length] = key;
+    return keys;
+  };
+
+  // Retrieve the values of an object's properties.
+  _.values = function(obj) {
+    var values = [];
+    for (var key in obj) if (_.has(obj, key)) values.push(obj[key]);
+    return values;
+  };
+
+  // Convert an object into a list of `[key, value]` pairs.
+  _.pairs = function(obj) {
+    var pairs = [];
+    for (var key in obj) if (_.has(obj, key)) pairs.push([key, obj[key]]);
+    return pairs;
+  };
+
+  // Invert the keys and values of an object. The values must be serializable.
+  _.invert = function(obj) {
+    var result = {};
+    for (var key in obj) if (_.has(obj, key)) result[obj[key]] = key;
+    return result;
+  };
+
+  // Return a sorted list of the function names available on the object.
+  // Aliased as `methods`
+  _.functions = _.methods = function(obj) {
+    var names = [];
+    for (var key in obj) {
+      if (_.isFunction(obj[key])) names.push(key);
+    }
+    return names.sort();
+  };
+
+  // Extend a given object with all the properties in passed-in object(s).
+  _.extend = function(obj) {
+    each(slice.call(arguments, 1), function(source) {
+      if (source) {
+        for (var prop in source) {
+          obj[prop] = source[prop];
+        }
+      }
+    });
+    return obj;
+  };
+
+  // Return a copy of the object only containing the whitelisted properties.
+  _.pick = function(obj) {
+    var copy = {};
+    var keys = concat.apply(ArrayProto, slice.call(arguments, 1));
+    each(keys, function(key) {
+      if (key in obj) copy[key] = obj[key];
+    });
+    return copy;
+  };
+
+   // Return a copy of the object without the blacklisted properties.
+  _.omit = function(obj) {
+    var copy = {};
+    var keys = concat.apply(ArrayProto, slice.call(arguments, 1));
+    for (var key in obj) {
+      if (!_.contains(keys, key)) copy[key] = obj[key];
+    }
+    return copy;
+  };
+
+  // Fill in a given object with default properties.
+  _.defaults = function(obj) {
+    each(slice.call(arguments, 1), function(source) {
+      if (source) {
+        for (var prop in source) {
+          if (obj[prop] == null) obj[prop] = source[prop];
+        }
+      }
+    });
+    return obj;
+  };
+
+  // Create a (shallow-cloned) duplicate of an object.
+  _.clone = function(obj) {
+    if (!_.isObject(obj)) return obj;
+    return _.isArray(obj) ? obj.slice() : _.extend({}, obj);
+  };
+
+  // Invokes interceptor with the obj, and then returns obj.
+  // The primary purpose of this method is to "tap into" a method chain, in
+  // order to perform operations on intermediate results within the chain.
+  _.tap = function(obj, interceptor) {
+    interceptor(obj);
+    return obj;
+  };
+
+  // Internal recursive comparison function for `isEqual`.
+  var eq = function(a, b, aStack, bStack) {
+    // Identical objects are equal. `0 === -0`, but they aren't identical.
+    // See the Harmony `egal` proposal: http://wiki.ecmascript.org/doku.php?id=harmony:egal.
+    if (a === b) return a !== 0 || 1 / a == 1 / b;
+    // A strict comparison is necessary because `null == undefined`.
+    if (a == null || b == null) return a === b;
+    // Unwrap any wrapped objects.
+    if (a instanceof _) a = a._wrapped;
+    if (b instanceof _) b = b._wrapped;
+    // Compare `[[Class]]` names.
+    var className = toString.call(a);
+    if (className != toString.call(b)) return false;
+    switch (className) {
+      // Strings, numbers, dates, and booleans are compared by value.
+      case '[object String]':
+        // Primitives and their corresponding object wrappers are equivalent; thus, `"5"` is
+        // equivalent to `new String("5")`.
+        return a == String(b);
+      case '[object Number]':
+        // `NaN`s are equivalent, but non-reflexive. An `egal` comparison is performed for
+        // other numeric values.
+        return a != +a ? b != +b : (a == 0 ? 1 / a == 1 / b : a == +b);
+      case '[object Date]':
+      case '[object Boolean]':
+        // Coerce dates and booleans to numeric primitive values. Dates are compared by their
+        // millisecond representations. Note that invalid dates with millisecond representations
+        // of `NaN` are not equivalent.
+        return +a == +b;
+      // RegExps are compared by their source patterns and flags.
+      case '[object RegExp]':
+        return a.source == b.source &&
+               a.global == b.global &&
+               a.multiline == b.multiline &&
+               a.ignoreCase == b.ignoreCase;
+    }
+    if (typeof a != 'object' || typeof b != 'object') return false;
+    // Assume equality for cyclic structures. The algorithm for detecting cyclic
+    // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.
+    var length = aStack.length;
+    while (length--) {
+      // Linear search. Performance is inversely proportional to the number of
+      // unique nested structures.
+      if (aStack[length] == a) return bStack[length] == b;
+    }
+    // Add the first object to the stack of traversed objects.
+    aStack.push(a);
+    bStack.push(b);
+    var size = 0, result = true;
+    // Recursively compare objects and arrays.
+    if (className == '[object Array]') {
+      // Compare array lengths to determine if a deep comparison is necessary.
+      size = a.length;
+      result = size == b.length;
+      if (result) {
+        // Deep compare the contents, ignoring non-numeric properties.
+        while (size--) {
+          if (!(result = eq(a[size], b[size], aStack, bStack))) break;
+        }
+      }
+    } else {
+      // Objects with different constructors are not equivalent, but `Object`s
+      // from different frames are.
+      var aCtor = a.constructor, bCtor = b.constructor;
+      if (aCtor !== bCtor && !(_.isFunction(aCtor) && (aCtor instanceof aCtor) &&
+                               _.isFunction(bCtor) && (bCtor instanceof bCtor))) {
+        return false;
+      }
+      // Deep compare objects.
+      for (var key in a) {
+        if (_.has(a, key)) {
+          // Count the expected number of properties.
+          size++;
+          // Deep compare each member.
+          if (!(result = _.has(b, key) && eq(a[key], b[key], aStack, bStack))) break;
+        }
+      }
+      // Ensure that both objects contain the same number of properties.
+      if (result) {
+        for (key in b) {
+          if (_.has(b, key) && !(size--)) break;
+        }
+        result = !size;
+      }
+    }
+    // Remove the first object from the stack of traversed objects.
+    aStack.pop();
+    bStack.pop();
+    return result;
+  };
+
+  // Perform a deep comparison to check if two objects are equal.
+  _.isEqual = function(a, b) {
+    return eq(a, b, [], []);
+  };
+
+  // Is a given array, string, or object empty?
+  // An "empty" object has no enumerable own-properties.
+  _.isEmpty = function(obj) {
+    if (obj == null) return true;
+    if (_.isArray(obj) || _.isString(obj)) return obj.length === 0;
+    for (var key in obj) if (_.has(obj, key)) return false;
+    return true;
+  };
+
+  // Is a given value a DOM element?
+  _.isElement = function(obj) {
+    return !!(obj && obj.nodeType === 1);
+  };
+
+  // Is a given value an array?
+  // Delegates to ECMA5's native Array.isArray
+  _.isArray = nativeIsArray || function(obj) {
+    return toString.call(obj) == '[object Array]';
+  };
+
+  // Is a given variable an object?
+  _.isObject = function(obj) {
+    return obj === Object(obj);
+  };
+
+  // Add some isType methods: isArguments, isFunction, isString, isNumber, isDate, isRegExp.
+  each(['Arguments', 'Function', 'String', 'Number', 'Date', 'RegExp'], function(name) {
+    _['is' + name] = function(obj) {
+      return toString.call(obj) == '[object ' + name + ']';
+    };
+  });
+
+  // Define a fallback version of the method in browsers (ahem, IE), where
+  // there isn't any inspectable "Arguments" type.
+  if (!_.isArguments(arguments)) {
+    _.isArguments = function(obj) {
+      return !!(obj && _.has(obj, 'callee'));
+    };
+  }
+
+  // Optimize `isFunction` if appropriate.
+  if (typeof (/./) !== 'function') {
+    _.isFunction = function(obj) {
+      return typeof obj === 'function';
+    };
+  }
+
+  // Is a given object a finite number?
+  _.isFinite = function(obj) {
+    return isFinite(obj) && !isNaN(parseFloat(obj));
+  };
+
+  // Is the given value `NaN`? (NaN is the only number which does not equal itself).
+  _.isNaN = function(obj) {
+    return _.isNumber(obj) && obj != +obj;
+  };
+
+  // Is a given value a boolean?
+  _.isBoolean = function(obj) {
+    return obj === true || obj === false || toString.call(obj) == '[object Boolean]';
+  };
+
+  // Is a given value equal to null?
+  _.isNull = function(obj) {
+    return obj === null;
+  };
+
+  // Is a given variable undefined?
+  _.isUndefined = function(obj) {
+    return obj === void 0;
+  };
+
+  // Shortcut function for checking if an object has a given property directly
+  // on itself (in other words, not on a prototype).
+  _.has = function(obj, key) {
+    return hasOwnProperty.call(obj, key);
+  };
+
+  // Utility Functions
+  // -----------------
+
+  // Run Underscore.js in *noConflict* mode, returning the `_` variable to its
+  // previous owner. Returns a reference to the Underscore object.
+  _.noConflict = function() {
+    root._ = previousUnderscore;
+    return this;
+  };
+
+  // Keep the identity function around for default iterators.
+  _.identity = function(value) {
+    return value;
+  };
+
+  // Run a function **n** times.
+  _.times = function(n, iterator, context) {
+    var accum = Array(n);
+    for (var i = 0; i < n; i++) accum[i] = iterator.call(context, i);
+    return accum;
+  };
+
+  // Return a random integer between min and max (inclusive).
+  _.random = function(min, max) {
+    if (max == null) {
+      max = min;
+      min = 0;
+    }
+    return min + Math.floor(Math.random() * (max - min + 1));
+  };
+
+  // List of HTML entities for escaping.
+  var entityMap = {
+    escape: {
+      '&': '&amp;',
+      '<': '&lt;',
+      '>': '&gt;',
+      '"': '&quot;',
+      "'": '&#x27;',
+      '/': '&#x2F;'
+    }
+  };
+  entityMap.unescape = _.invert(entityMap.escape);
+
+  // Regexes containing the keys and values listed immediately above.
+  var entityRegexes = {
+    escape:   new RegExp('[' + _.keys(entityMap.escape).join('') + ']', 'g'),
+    unescape: new RegExp('(' + _.keys(entityMap.unescape).join('|') + ')', 'g')
+  };
+
+  // Functions for escaping and unescaping strings to/from HTML interpolation.
+  _.each(['escape', 'unescape'], function(method) {
+    _[method] = function(string) {
+      if (string == null) return '';
+      return ('' + string).replace(entityRegexes[method], function(match) {
+        return entityMap[method][match];
+      });
+    };
+  });
+
+  // If the value of the named property is a function then invoke it;
+  // otherwise, return it.
+  _.result = function(object, property) {
+    if (object == null) return null;
+    var value = object[property];
+    return _.isFunction(value) ? value.call(object) : value;
+  };
+
+  // Add your own custom functions to the Underscore object.
+  _.mixin = function(obj) {
+    each(_.functions(obj), function(name){
+      var func = _[name] = obj[name];
+      _.prototype[name] = function() {
+        var args = [this._wrapped];
+        push.apply(args, arguments);
+        return result.call(this, func.apply(_, args));
+      };
+    });
+  };
+
+  // Generate a unique integer id (unique within the entire client session).
+  // Useful for temporary DOM ids.
+  var idCounter = 0;
+  _.uniqueId = function(prefix) {
+    var id = ++idCounter + '';
+    return prefix ? prefix + id : id;
+  };
+
+  // By default, Underscore uses ERB-style template delimiters, change the
+  // following template settings to use alternative delimiters.
+  _.templateSettings = {
+    evaluate    : /<%([\s\S]+?)%>/g,
+    interpolate : /<%=([\s\S]+?)%>/g,
+    escape      : /<%-([\s\S]+?)%>/g
+  };
+
+  // When customizing `templateSettings`, if you don't want to define an
+  // interpolation, evaluation or escaping regex, we need one that is
+  // guaranteed not to match.
+  var noMatch = /(.)^/;
+
+  // Certain characters need to be escaped so that they can be put into a
+  // string literal.
+  var escapes = {
+    "'":      "'",
+    '\\':     '\\',
+    '\r':     'r',
+    '\n':     'n',
+    '\t':     't',
+    '\u2028': 'u2028',
+    '\u2029': 'u2029'
+  };
+
+  var escaper = /\\|'|\r|\n|\t|\u2028|\u2029/g;
+
+  // JavaScript micro-templating, similar to John Resig's implementation.
+  // Underscore templating handles arbitrary delimiters, preserves whitespace,
+  // and correctly escapes quotes within interpolated code.
+  _.template = function(text, data, settings) {
+    var render;
+    settings = _.defaults({}, settings, _.templateSettings);
+
+    // Combine delimiters into one regular expression via alternation.
+    var matcher = new RegExp([
+      (settings.escape || noMatch).source,
+      (settings.interpolate || noMatch).source,
+      (settings.evaluate || noMatch).source
+    ].join('|') + '|$', 'g');
+
+    // Compile the template source, escaping string literals appropriately.
+    var index = 0;
+    var source = "__p+='";
+    text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {
+      source += text.slice(index, offset)
+        .replace(escaper, function(match) { return '\\' + escapes[match]; });
+
+      if (escape) {
+        source += "'+\n((__t=(" + escape + "))==null?'':_.escape(__t))+\n'";
+      }
+      if (interpolate) {
+        source += "'+\n((__t=(" + interpolate + "))==null?'':__t)+\n'";
+      }
+      if (evaluate) {
+        source += "';\n" + evaluate + "\n__p+='";
+      }
+      index = offset + match.length;
+      return match;
+    });
+    source += "';\n";
+
+    // If a variable is not specified, place data values in local scope.
+    if (!settings.variable) source = 'with(obj||{}){\n' + source + '}\n';
+
+    source = "var __t,__p='',__j=Array.prototype.join," +
+      "print=function(){__p+=__j.call(arguments,'');};\n" +
+      source + "return __p;\n";
+
+    try {
+      render = new Function(settings.variable || 'obj', '_', source);
+    } catch (e) {
+      e.source = source;
+      throw e;
+    }
+
+    if (data) return render(data, _);
+    var template = function(data) {
+      return render.call(this, data, _);
+    };
+
+    // Provide the compiled function source as a convenience for precompilation.
+    template.source = 'function(' + (settings.variable || 'obj') + '){\n' + source + '}';
+
+    return template;
+  };
+
+  // Add a "chain" function, which will delegate to the wrapper.
+  _.chain = function(obj) {
+    return _(obj).chain();
+  };
+
+  // OOP
+  // ---------------
+  // If Underscore is called as a function, it returns a wrapped object that
+  // can be used OO-style. This wrapper holds altered versions of all the
+  // underscore functions. Wrapped objects may be chained.
+
+  // Helper function to continue chaining intermediate results.
+  var result = function(obj) {
+    return this._chain ? _(obj).chain() : obj;
+  };
+
+  // Add all of the Underscore functions to the wrapper object.
+  _.mixin(_);
+
+  // Add all mutator Array functions to the wrapper.
+  each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {
+    var method = ArrayProto[name];
+    _.prototype[name] = function() {
+      var obj = this._wrapped;
+      method.apply(obj, arguments);
+      if ((name == 'shift' || name == 'splice') && obj.length === 0) delete obj[0];
+      return result.call(this, obj);
+    };
+  });
+
+  // Add all accessor Array functions to the wrapper.
+  each(['concat', 'join', 'slice'], function(name) {
+    var method = ArrayProto[name];
+    _.prototype[name] = function() {
+      return result.call(this, method.apply(this._wrapped, arguments));
+    };
+  });
+
+  _.extend(_.prototype, {
+
+    // Start chaining a wrapped Underscore object.
+    chain: function() {
+      this._chain = true;
+      return this;
+    },
+
+    // Extracts the result from a wrapped and chained object.
+    value: function() {
+      return this._wrapped;
+    }
+
+  });
+
+}).call(this);

BIN
_static/up-pressed.png


BIN
_static/up.png


+ 15 - 15
_static/websupport.js

@@ -4,7 +4,7 @@
  *
  * sphinx.websupport utilties for all documentation.
  *
- * :copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS.
  * :license: BSD, see LICENSE for details.
  *
  */
@@ -50,51 +50,51 @@
   }
 
   function initEvents() {
-    $(document).on("click", 'a.comment-close', function(event) {
+    $('a.comment-close').live("click", function(event) {
       event.preventDefault();
       hide($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.vote', function(event) {
+    $('a.vote').live("click", function(event) {
       event.preventDefault();
       handleVote($(this));
     });
-    $(document).on("click", 'a.reply', function(event) {
+    $('a.reply').live("click", function(event) {
       event.preventDefault();
       openReply($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.close-reply', function(event) {
+    $('a.close-reply').live("click", function(event) {
       event.preventDefault();
       closeReply($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.sort-option', function(event) {
+    $('a.sort-option').live("click", function(event) {
       event.preventDefault();
       handleReSort($(this));
     });
-    $(document).on("click", 'a.show-proposal', function(event) {
+    $('a.show-proposal').live("click", function(event) {
       event.preventDefault();
       showProposal($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.hide-proposal', function(event) {
+    $('a.hide-proposal').live("click", function(event) {
       event.preventDefault();
       hideProposal($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.show-propose-change', function(event) {
+    $('a.show-propose-change').live("click", function(event) {
       event.preventDefault();
       showProposeChange($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.hide-propose-change', function(event) {
+    $('a.hide-propose-change').live("click", function(event) {
       event.preventDefault();
       hideProposeChange($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.accept-comment', function(event) {
+    $('a.accept-comment').live("click", function(event) {
       event.preventDefault();
       acceptComment($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.delete-comment', function(event) {
+    $('a.delete-comment').live("click", function(event) {
       event.preventDefault();
       deleteComment($(this).attr('id').substring(2));
     });
-    $(document).on("click", 'a.comment-markup', function(event) {
+    $('a.comment-markup').live("click", function(event) {
       event.preventDefault();
       toggleCommentMarkupBox($(this).attr('id').substring(2));
     });
@@ -700,8 +700,8 @@
         (<a href="#" class="comment-markup" id="ab<%id%>">markup</a>):</p>\
       <div class="comment-markup-box" id="mb<%id%>">\
         reStructured text markup: <i>*emph*</i>, <b>**strong**</b>, \
-        <code>``code``</code>, \
-        code blocks: <code>::</code> and an indented block after blank line</div>\
+        <tt>``code``</tt>, \
+        code blocks: <tt>::</tt> and an indented block after blank line</div>\
       <form method="post" id="cf<%id%>" class="comment-form" action="">\
         <textarea name="comment" cols="80"></textarea>\
         <p class="propose-button">\

Plik diff jest za duży
+ 213 - 309
bgfx.html


+ 58 - 184
build.html

@@ -45,17 +45,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -64,42 +74,15 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </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><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
+            
+            
+                <ul class="current">
+<li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a></li>
 <li class="toctree-l1 current"><a class="current reference internal" href="">Building</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="#dependencies">Dependencies</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#getting-source">Getting Source</a></li>
@@ -121,145 +104,20 @@
 </li>
 <li class="toctree-l2"><a class="reference internal" href="#amalgamated-build">Amalgamated Build</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#oculusvr-integration">OculusVR Integration</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#tools">Tools</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#alternative-build-systems">Alternative build systems</a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</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"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -274,7 +132,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -287,7 +151,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <div class="section" id="building">
 <h1>Building<a class="headerlink" href="#building" title="Permalink to this headline">¶</a></h1>
@@ -393,13 +258,13 @@ bx repository.</p>
 make
 </pre></div>
 </div>
-<p>After calling <code class="docutils literal"><span class="pre">make</span></code>, .build/projects/* directory will be generated.
+<p>After calling <tt class="docutils literal"><span class="pre">make</span></tt>, .build/projects/* directory will be generated.
 All intermediate files generated by compiler will be inside .build
 directory structure. Deleting .build directory at any time is safe.</p>
 <div class="highlight-python"><div class="highlight"><pre>make &lt;configuration&gt;
 </pre></div>
 </div>
-<p>Configuration is <code class="docutils literal"><span class="pre">&lt;platform&gt;-&lt;debug/release&gt;[32/64]</span></code>. For example:</p>
+<p>Configuration is <tt class="docutils literal"><span class="pre">&lt;platform&gt;-&lt;debug/release&gt;[32/64]</span></tt>. For example:</p>
 <div class="highlight-python"><div class="highlight"><pre>linux-release32, nacl-debug64, nacl-arm-debug, pnacl-release,
 android-release, etc.
 </pre></div>
@@ -428,7 +293,7 @@ configuration file, it has to be set manually for each example project:</p>
 <li>Open <em>&#8220;Edit scheme...&#8221;</em> dialog for a given project.</li>
 <li>Select <em>&#8220;Run&#8221;</em> settings.</li>
 <li>Check <em>&#8220;Use custom working directory&#8221;</em> and enter following path:
-<code class="docutils literal"><span class="pre">${PROJECT_DIR}/../../../examples/runtime</span></code>.</li>
+<tt class="docutils literal"><span class="pre">${PROJECT_DIR}/../../../examples/runtime</span></tt>.</li>
 </ol>
 </div>
 <div class="section" id="id2">
@@ -439,7 +304,7 @@ configuration file, it has to be set manually for each example project:</p>
 </div>
 <div class="section" id="winrt-windows-phone-8-1">
 <h3>WinRT / Windows Phone 8.1<a class="headerlink" href="#winrt-windows-phone-8-1" title="Permalink to this headline">¶</a></h3>
-<div class="highlight-python"><div class="highlight"><pre>../bx/tools/bin/windows/genie --vs=winphone81 vs2013
+<div class="highlight-python"><div class="highlight"><pre>../bx/tools/bin/windows/genie --vs=winphone81 vs2015
 </pre></div>
 </div>
 <p>Build the resulting solution and deploy to device.</p>
@@ -460,12 +325,19 @@ instead) inside different build system.</p>
 </div>
 <div class="section" id="oculusvr-integration">
 <h2>OculusVR Integration<a class="headerlink" href="#oculusvr-integration" title="Permalink to this headline">¶</a></h2>
-<p>To build with OculusVR HMD support enabled you must set <code class="docutils literal"><span class="pre">OVR_DIR</span></code> enviroment variable:</p>
+<p>To build with OculusVR HMD support enabled you must set <tt class="docutils literal"><span class="pre">OVR_DIR</span></tt> enviroment variable:</p>
 <div class="highlight-python"><div class="highlight"><pre>set OVR_DIR=&lt;path to OculusSDK&gt;
 </pre></div>
 </div>
-<p>And generate project files with <code class="docutils literal"><span class="pre">--with-ovr</span></code> option:</p>
-<div class="highlight-python"><div class="highlight"><pre>genie --with-ovr vs2012
+<p>And generate project files with <tt class="docutils literal"><span class="pre">--with-ovr</span></tt> option:</p>
+<div class="highlight-python"><div class="highlight"><pre>genie --with-ovr vs2015
+</pre></div>
+</div>
+</div>
+<div class="section" id="tools">
+<h2>Tools<a class="headerlink" href="#tools" title="Permalink to this headline">¶</a></h2>
+<p>To build bgfx project files for tools, use <tt class="docutils literal"><span class="pre">--with-tools</span></tt> option:</p>
+<div class="highlight-python"><div class="highlight"><pre>genie --with-tools vs2015
 </pre></div>
 </div>
 </div>
@@ -479,6 +351,7 @@ instead) inside different build system.</p>
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -497,8 +370,9 @@ instead) inside different build system.</p>
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

+ 47 - 168
examples.html

@@ -45,17 +45,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -64,66 +74,16 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </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><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
+            
+            
+                <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 current"><a class="current reference internal" href="">Examples</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="#helloworld">00-helloworld</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#cubes">01-cubes</a></li>
@@ -161,105 +121,15 @@
 <li class="toctree-l2"><a class="reference internal" href="#debugdraw">29-debugdraw</a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</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"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -274,7 +144,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -287,7 +163,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <div class="section" id="examples">
 <h1>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h1>
@@ -501,7 +378,7 @@ caching OpenGL binary shaders, and video capture.</p>
 <p>Draw stress is CPU stress test to show what is the maximimum number of
 draw calls while maintaining 60Hz frame rate. bgfx currently has default
 limit of 64K draw calls per frame. You can increase this limit by
-changing <code class="docutils literal"><span class="pre">BGFX_CONFIG_MAX_DRAW_CALLS</span></code>.</p>
+changing <tt class="docutils literal"><span class="pre">BGFX_CONFIG_MAX_DRAW_CALLS</span></tt>.</p>
 <table border="1" class="docutils">
 <colgroup>
 <col width="19%" />
@@ -924,9 +801,9 @@ changing <code class="docutils literal"><span class="pre">BGFX_CONFIG_MAX_DRAW_C
 </table>
 <p>To test browsers in 60Hz mode following changes were made:</p>
 <ul class="simple">
-<li>Firefox 27 <a class="reference external" href="about:config">about:config</a> adjustments: <code class="docutils literal"><span class="pre">webgl.prefer-native-gl</span> <span class="pre">true</span></code>
-(on Windows), and <code class="docutils literal"><span class="pre">layout.frame_rate</span> <span class="pre">500</span></code>.</li>
-<li>Chrome 33 command line option: <code class="docutils literal"><span class="pre">--disable-gpu-vsync</span></code>.</li>
+<li>Firefox 27 <a class="reference external" href="about:config">about:config</a> adjustments: <tt class="docutils literal"><span class="pre">webgl.prefer-native-gl</span> <span class="pre">true</span></tt>
+(on Windows), and <tt class="docutils literal"><span class="pre">layout.frame_rate</span> <span class="pre">500</span></tt>.</li>
+<li>Chrome 33 command line option: <tt class="docutils literal"><span class="pre">--disable-gpu-vsync</span></tt>.</li>
 </ul>
 </div>
 <div class="section" id="hz-test-for-browsers">
@@ -1142,6 +1019,7 @@ off programatically.</p>
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -1160,8 +1038,9 @@ off programatically.</p>
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

Plik diff jest za duży
+ 318 - 473
genindex.html


+ 45 - 201
index.html

@@ -44,17 +44,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="#" class="icon icon-home"> bgfx
-        
+          
+            <a href="#" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -63,202 +73,26 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </div>
+
+        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
           
-              <ul>
-<li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</li>
+            
+            
+                <ul>
+<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"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -273,7 +107,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="#">Docs</a> &raquo;</li>
       
@@ -286,7 +126,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <div class="section" id="documentation">
 <h1>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h1>
@@ -352,6 +193,7 @@ licensed under permissive BSD-2 clause open source license.</p>
 </li>
 <li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
 <li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
+<li class="toctree-l2"><a class="reference internal" href="build.html#tools">Tools</a></li>
 <li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
 </ul>
 </li>
@@ -466,6 +308,7 @@ licensed under permissive BSD-2 clause open source license.</p>
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -482,8 +325,9 @@ licensed under permissive BSD-2 clause open source license.</p>
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

+ 43 - 182
license.html

@@ -44,17 +44,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -63,177 +73,19 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </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><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
+            
+            
+                <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>
@@ -255,10 +107,10 @@
 </li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -273,7 +125,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -286,7 +144,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <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>
@@ -538,6 +397,7 @@ contour texturing.</p>
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -554,8 +414,9 @@ contour texturing.</p>
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

BIN
objects.inv


+ 61 - 187
overview.html

@@ -45,17 +45,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -64,14 +74,14 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </div>
+
+        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
           
-              <ul class="current">
+            
+            
+                <ul class="current">
 <li class="toctree-l1 current"><a class="current reference internal" href="">Overview</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="#what-is-it">What is it?</a><ul>
 <li class="toctree-l3"><a class="reference internal" href="#supported-rendering-backends">Supported rendering backends</a></li>
@@ -100,166 +110,17 @@
 </li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</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"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -274,7 +135,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -287,7 +154,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <div class="section" id="overview">
 <h1>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h1>
@@ -351,8 +219,9 @@ licensed under permissive BSD-2 clause open source license.</p>
 <li><a class="reference external" href="https://github.com/MikePopoloski/SharpBgfx">C#/VB/F# language API bindings</a></li>
 <li><a class="reference external" href="https://github.com/DerelictOrg/DerelictBgfx">D language API bindings</a></li>
 <li><a class="reference external" href="https://github.com/james4k/go-bgfx">Go language API bindings</a></li>
-<li><a class="reference external" href="https://github.com/enleeten/twilight-bgfx">Java language API bindings</a></li>
 <li><a class="reference external" href="https://github.com/haskell-game/bgfx">Haskell language API bindings</a></li>
+<li><a class="reference external" href="https://github.com/enleeten/twilight-bgfx">Java language API bindings</a></li>
+<li><a class="reference external" href="https://github.com/excessive/lua-bgfx">Lua language API bindings</a></li>
 <li><a class="reference external" href="https://github.com/jnadro/pybgfx#pybgfx">Python language API bindings</a></li>
 <li><a class="reference external" href="https://github.com/rhoot/bgfx-rs#bgfx-rs">Rust language API bindings</a></li>
 </ul>
@@ -383,9 +252,9 @@ one place, and on the low-level this allows better optimization of
 rendering order. This sometimes creates undesired results usually for
 GUI rendering, where draw order should usually match submit order. bgfx
 provides way to enable sequential rendering for these cases (see
-<code class="docutils literal"><span class="pre">bgfx::setViewSeq</span></code>).</p>
+<tt class="docutils literal"><span class="pre">bgfx::setViewSeq</span></tt>).</p>
 <p>Internally all low-level rendering draw calls are issued inside single
-function <code class="docutils literal"><span class="pre">RendererContextI::submit</span></code>. This function exist inside each
+function <tt class="docutils literal"><span class="pre">RendererContextI::submit</span></tt>. This function exist inside each
 renderer backend implementation.</p>
 <blockquote>
 <div><ul class="simple">
@@ -408,9 +277,9 @@ SDK</a>,
 SDK</a>.</p>
 <p>All configuration settings are located inside
 <a class="reference external" href="https://github.com/bkaradzic/bgfx/blob/master/src/config.h">src/config.h</a>.</p>
-<p>Every <code class="docutils literal"><span class="pre">BGFX_CONFIG_*</span></code> setting can be changed by passing defines thru
+<p>Every <tt class="docutils literal"><span class="pre">BGFX_CONFIG_*</span></tt> setting can be changed by passing defines thru
 compiler switches. For example setting preprocessor define
-<code class="docutils literal"><span class="pre">BGFX_CONFIG_RENDERER_OPENGL=1</span></code> will change backend renderer to OpenGL
+<tt class="docutils literal"><span class="pre">BGFX_CONFIG_RENDERER_OPENGL=1</span></tt> will change backend renderer to OpenGL
 2.1. on Windows. Since rendering APIs are platform specific, this
 obviously won&#8217;t work nor make sense in all cases. Certain platforms have
 only single choice, for example the Native Client works only with OpenGL
@@ -422,7 +291,7 @@ errors.</p>
 <div class="section" id="renderdoc">
 <h3>RenderDoc<a class="headerlink" href="#renderdoc" title="Permalink to this headline">¶</a></h3>
 <p>Loading of RenderDoc is integrated in bgfx when using DX11 or OpenGL
-renderer. You can drop in <code class="docutils literal"><span class="pre">renderdoc.dll</span></code> from RenderDoc distribution
+renderer. You can drop in <tt class="docutils literal"><span class="pre">renderdoc.dll</span></tt> from RenderDoc distribution
 into working directory, and it will be automatically loaded during bgfx
 initialization. This allows frame capture at any time by pressing
 <strong>F11</strong>.</p>
@@ -431,8 +300,8 @@ initialization. This allows frame capture at any time by pressing
 <div class="section" id="intelgpa">
 <h3>IntelGPA<a class="headerlink" href="#intelgpa" title="Permalink to this headline">¶</a></h3>
 <p>Right click <strong>Intel GPA Monitor</strong> tray icon, choose preferences, check
-&#8220;Auto-detect launched applications&#8221; option. Find <code class="docutils literal"><span class="pre">InjectionList.txt</span></code>
-in GPA directory and add <code class="docutils literal"><span class="pre">examples-*</span></code> to the list.</p>
+&#8220;Auto-detect launched applications&#8221; option. Find <tt class="docutils literal"><span class="pre">InjectionList.txt</span></tt>
+in GPA directory and add <tt class="docutils literal"><span class="pre">examples-*</span></tt> to the list.</p>
 <p>Download:
 <a class="reference external" href="https://software.intel.com/en-us/vcsource/tools/intel-gpa">IntelGPA</a></p>
 </div>
@@ -604,19 +473,19 @@ int main(...
 </div>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p class="last">You can use <code class="docutils literal"><span class="pre">--with-sdl</span></code> when runnning GENie to enable SDL2 integration with examples:
-<code class="docutils literal"><span class="pre">genie</span> <span class="pre">--with-sdl</span> <span class="pre">vs2012</span></code></p>
+<p class="last">You can use <tt class="docutils literal"><span class="pre">--with-sdl</span></tt> when runnning GENie to enable SDL2 integration with examples:
+<tt class="docutils literal"><span class="pre">genie</span> <span class="pre">--with-sdl</span> <span class="pre">vs2012</span></tt></p>
 </div>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
-<p class="last"><code class="docutils literal"><span class="pre">--with-glfw</span></code> is also available, but it&#8217;s just simple stub to be used to test GLFW
+<p class="last"><tt class="docutils literal"><span class="pre">--with-glfw</span></tt> is also available, but it&#8217;s just simple stub to be used to test GLFW
 integration API.</p>
 </div>
 <div class="admonition note">
 <p class="first admonition-title">Note</p>
 <p class="last">Special care is necessary to make custom windowing to work with multithreaded renderer.
 Each platform has rules about where renderer can be and how multithreading interacts
-with context/device. To disable multithreaded render use <code class="docutils literal"><span class="pre">BGFX_CONFIG_MULTITHREDED=0</span></code>
+with context/device. To disable multithreaded render use <tt class="docutils literal"><span class="pre">BGFX_CONFIG_MULTITHREDED=0</span></tt>
 preprocessor define.</p>
 </div>
 </div>
@@ -627,7 +496,6 @@ preprocessor define.</p>
 <li>ETC2, PVRTC1/2 decoding fallback for targets that don&#8217;t support it
 natively.</li>
 <li>shaderc as library for runtime shader building.</li>
-<li>texturec tool with support for all supported texture formats.</li>
 <li>Multiple vertex streams support.</li>
 <li>Animated mesh example.</li>
 <li>Vulkan renderer backend.</li>
@@ -670,9 +538,13 @@ handling.</li>
 <li>Andrew Mac (<a class="reference external" href="https://github.com/andr3wmac">&#64;andr3wmac</a>) - 27-terrain.</li>
 <li>Oliver Charles (<a class="reference external" href="https://github.com/ocharles">&#64;ocharles</a>) - Haskel language API bindings.</li>
 <li>Johan Sköld (<a class="reference external" href="https://github.com/rhoot">&#64;rhoot</a>) - Rust language API bindings.</li>
-<li>Jean-François Verdon (<a class="reference external" href="https://github.com/Nodrev">&#64;Nodrev</a>) - Alternative deployment for Android.</li>
+<li>Jean-François Verdon (<a class="reference external" href="https://github.com/Nodrev">&#64;Nodrev</a>) - Alternative deployment for
+Android.</li>
 <li>Jason Nadro (<a class="reference external" href="https://github.com/jnadro">&#64;jnadro</a>) - Python language API bindings.</li>
 <li>Krzysztof Kondrak (<a class="reference external" href="https://github.com/kondrak">&#64;kondrak</a>) - OculusVR integration.</li>
+<li>Colby Klein (<a class="reference external" href="https://github.com/excessive">&#64;excessive</a>) - Lua language API bindings.</li>
+<li>Stuart Carnie (<a class="reference external" href="https://github.com/stuartcarnie">&#64;stuartcarnie</a>) - Swift language API
+bindings.</li>
 </ul>
 </div></blockquote>
 </div>
@@ -685,6 +557,7 @@ handling.</li>
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -703,8 +576,9 @@ handling.</li>
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

+ 44 - 201
search.html

@@ -43,17 +43,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </a>
 
-        
+          
+            
+            
+              <div class="version">
+                1.0
+              </div>
+            
+          
+
+          
 <div role="search">
   <form id="rtd-search-form" class="wy-form" action="#" method="get">
     <input type="text" name="q" placeholder="Search docs" />
@@ -62,202 +72,26 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </div>
+
+        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
           
-              <ul>
-<li class="toctree-l1"><a class="reference internal" href="overview.html">Overview</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="tools.html">Tools</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="tools.html#building-shaders">Building shaders</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-compiler-texturec">Texture Compiler (texturec)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="tools.html#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</li>
+            
+            
+                <ul>
+<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"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -272,7 +106,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -283,7 +123,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <noscript>
   <div id="fallback" class="admonition warning">
@@ -299,6 +140,7 @@
   
   </div>
 
+           </div>
           </div>
           <footer>
   
@@ -308,8 +150,9 @@
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

Plik diff jest za duży
+ 0 - 0
searchindex.js


+ 53 - 201
tools.html

@@ -45,17 +45,27 @@
 
     
     <nav data-toggle="wy-nav-shift" class="wy-nav-side">
-      <div class="wy-side-nav-search">
-        
+      <div class="wy-side-scroll">
+        <div class="wy-side-nav-search">
+          
 
-        
-          <a href="index.html" class="icon icon-home"> bgfx
-        
+          
+            <a href="index.html" class="icon icon-home"> bgfx
+          
 
-        
-        </a>
+          
+          </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" />
@@ -64,167 +74,18 @@
   </form>
 </div>
 
-        
-      </div>
-
-      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
-        
           
+        </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><ul>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#what-is-it">What is it?</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-rendering-backends">Supported rendering backends</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-hmd">Supported HMD</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-platforms">Supported Platforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-compilers">Supported Compilers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#supported-languages">Supported Languages</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#project-page">Project Page</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contact">Contact</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#internals">Internals</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#customization">Customization</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#debugging-and-profiling">Debugging and Profiling</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#renderdoc">RenderDoc</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#intelgpa">IntelGPA</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#other-debuggers-and-profilers">Other Debuggers and Profilers</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#sdl-glfw-etc">SDL, GLFW, etc.</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#todo">Todo</a></li>
-<li class="toctree-l2"><a class="reference internal" href="overview.html#getting-involved">Getting Involved</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#contributors">Contributors</a></li>
-<li class="toctree-l3"><a class="reference internal" href="overview.html#repository-visualization">Repository visualization</a></li>
-</ul>
-</li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="build.html">Building</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="build.html#dependencies">Dependencies</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#getting-source">Getting Source</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#quick-start">Quick Start</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#prerequisites">Prerequisites</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#android">Android</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#linux">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#native-client">Native Client</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#windows">Windows</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#build">Build</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="build.html#general">General</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id1">Windows</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#xcode">Xcode</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#id2">Linux</a></li>
-<li class="toctree-l3"><a class="reference internal" href="build.html#winrt-windows-phone-8-1">WinRT / Windows Phone 8.1</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#amalgamated-build">Amalgamated Build</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#oculusvr-integration">OculusVR Integration</a></li>
-<li class="toctree-l2"><a class="reference internal" href="build.html#alternative-build-systems">Alternative build systems</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="examples.html">Examples</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#helloworld">00-helloworld</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#cubes">01-cubes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#metaballs">02-metaballs</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#raymarch">03-raymarch</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#mesh">04-mesh</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#instancing">05-instancing</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#bump">06-bump</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#callback">07-callback</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#update">08-update</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#hdr">09-hdr</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#font">10-font</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#fontsdf">11-fontsdf</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#lod">12-lod</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#stencil">13-stencil</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowvolumes">14-shadowvolumes</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps-simple">15-shadowmaps-simple</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#shadowmaps">16-shadowmaps</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#drawstress">17-drawstress</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz">60Hz</a></li>
-<li class="toctree-l3"><a class="reference internal" href="examples.html#hz-test-for-browsers">30Hz (test for browsers)</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#ibl">18-ibl</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#oit">19-oit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nanovg">20-nanovg</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#deferred">21-deferred</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#windows">22-windows</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#vectordisplay">23-vectordisplay</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#nbody">24-nbody</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#c99">25-c99</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#occlusion">26-occlusion</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#terrain">27-terrain</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#wireframe">28-wireframe</a></li>
-<li class="toctree-l2"><a class="reference internal" href="examples.html#debugdraw">29-debugdraw</a></li>
-</ul>
-</li>
-<li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#general">General</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#initialization-and-shutdown">Initialization and Shutdown</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#updating">Updating</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#reset">Reset</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#frame">Frame</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#debug">Debug</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-features">Debug Features</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-flags">Debug Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#debug-text-display">Debug Text Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#querying-information">Querying information</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#renderer">Renderer</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#capabilities">Capabilities</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#statistics">Statistics</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#head-mounted-display">Head Mounted Display</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#platform-specific">Platform specific</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#miscellaneous">Miscellaneous</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#views">Views</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#draw">Draw</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#state">State</a><ul>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id1">Debug</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#id2">State</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#state-flags">State Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil">Stencil</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#stencil-flags">Stencil Flags</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#scissor">Scissor</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#transform">Transform</a></li>
-<li class="toctree-l4"><a class="reference internal" href="bgfx.html#conditional-rendering">Conditional Rendering</a></li>
-</ul>
-</li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#buffers">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#textures">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#submit">Submit</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#compute">Compute</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id3">Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#images">Images</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#dispatch">Dispatch</a></li>
-</ul>
-</li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#blit">Blit</a></li>
-<li class="toctree-l2"><a class="reference internal" href="bgfx.html#resources">Resources</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#shaders-and-programs">Shaders and Programs</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#uniforms">Uniforms</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#vertex-buffers">Vertex Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#index-buffers">Index Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#id4">Textures</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#frame-buffers">Frame Buffers</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#instance-buffer">Instance Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#indirect-buffer">Indirect Buffer</a></li>
-<li class="toctree-l3"><a class="reference internal" href="bgfx.html#occlusion-query">Occlusion Query</a></li>
-</ul>
-</li>
-</ul>
-</li>
+            
+            
+                <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 current"><a class="current reference internal" href="">Tools</a><ul>
 <li class="toctree-l2"><a class="reference internal" href="#geometry-compiler-geometryc">Geometry Compiler (geometryc)</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#shader-compiler-shaderc">Shader Compiler (shaderc)</a><ul>
@@ -235,31 +96,13 @@
 <li class="toctree-l2"><a class="reference internal" href="#texture-viewer-texturev">Texture Viewer (texturev)</a></li>
 </ul>
 </li>
-<li class="toctree-l1"><a class="reference internal" href="license.html">License</a><ul>
-<li class="toctree-l2"><a class="reference internal" href="license.html#license-bsd-2-clause">License (BSD 2-clause)</a></li>
-<li class="toctree-l2"><a class="reference internal" href="license.html#rd-party-libraries">3rd Party Libraries</a><ul>
-<li class="toctree-l3"><a class="reference internal" href="license.html#blendish-mit">Blendish (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#edtaa3-mit">edtaa3 (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#fcpp-bsd">fcpp (BSD)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#forsyth-triangle-order-optimizer-public-domain">Forsyth Triangle Order Optimizer (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#freetype">FreeType</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#glsl-optimizer-mit">glsl-optimizer (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#nanovg-zlib">NanoVG (ZLIB)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#imgui-mit">ImGui (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#sdf-mit">SDF (MIT)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#stb-public-domain">stb (Public Domain)</a></li>
-<li class="toctree-l3"><a class="reference internal" href="license.html#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="license.html#assets">Assets</a></li>
-</ul>
-</li>
+<li class="toctree-l1"><a class="reference internal" href="license.html">License</a></li>
 </ul>
 
+            
           
-        
+        </div>
       </div>
-      &nbsp;
     </nav>
 
     <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
@@ -274,7 +117,13 @@
       
       <div class="wy-nav-content">
         <div class="rst-content">
-          <div role="navigation" aria-label="breadcrumbs navigation">
+          
+
+
+
+
+
+<div role="navigation" aria-label="breadcrumbs navigation">
   <ul class="wy-breadcrumbs">
     <li><a href="index.html">Docs</a> &raquo;</li>
       
@@ -287,7 +136,8 @@
   </ul>
   <hr/>
 </div>
-          <div role="main" class="document">
+          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
+           <div itemprop="articleBody">
             
   <div class="section" id="tools">
 <h1>Tools<a class="headerlink" href="#tools" title="Permalink to this headline">¶</a></h1>
@@ -303,17 +153,17 @@ This technique has certain drawbacks, but overall it&#8217;s simple and allows
 quick authoring of cross-platform shaders.</p>
 <p>Some differences between bgfx&#8217;s shaderc flavor of GLSL and regular GLSL:</p>
 <ul class="simple">
-<li>No <code class="docutils literal"><span class="pre">bool/int</span></code> uniforms, all uniforms must be <code class="docutils literal"><span class="pre">float</span></code>.</li>
-<li>Attributes and varyings can be accessed only from <code class="docutils literal"><span class="pre">main()</span></code>
+<li>No <tt class="docutils literal"><span class="pre">bool/int</span></tt> uniforms, all uniforms must be <tt class="docutils literal"><span class="pre">float</span></tt>.</li>
+<li>Attributes and varyings can be accessed only from <tt class="docutils literal"><span class="pre">main()</span></tt>
 function.</li>
-<li>Must use <code class="docutils literal"><span class="pre">SAMPLER2D/3D/CUBE/etc.</span></code> macros instead of
-<code class="docutils literal"><span class="pre">sampler2D/3D/Cube/etc.</span></code> tokens.</li>
-<li>Must use <code class="docutils literal"><span class="pre">vec2/3/4_splat(&lt;value&gt;)</span></code> instead of
-<code class="docutils literal"><span class="pre">vec2/3/4(&lt;value&gt;)</span></code>.</li>
-<li>Must use <code class="docutils literal"><span class="pre">mul(x,</span> <span class="pre">y)</span></code> when multiplying vectors and matrices.</li>
-<li>Must use <code class="docutils literal"><span class="pre">varying.def.sc</span></code> to define input/output semantic and
-precission instead of using <code class="docutils literal"><span class="pre">attribute/in</span></code> and <code class="docutils literal"><span class="pre">varying/in/out</span></code>.</li>
-<li><code class="docutils literal"><span class="pre">$input/$output</span></code> tokens must appear at the begining of shader.</li>
+<li>Must use <tt class="docutils literal"><span class="pre">SAMPLER2D/3D/CUBE/etc.</span></tt> macros instead of
+<tt class="docutils literal"><span class="pre">sampler2D/3D/Cube/etc.</span></tt> tokens.</li>
+<li>Must use <tt class="docutils literal"><span class="pre">vec2/3/4_splat(&lt;value&gt;)</span></tt> instead of
+<tt class="docutils literal"><span class="pre">vec2/3/4(&lt;value&gt;)</span></tt>.</li>
+<li>Must use <tt class="docutils literal"><span class="pre">mul(x,</span> <span class="pre">y)</span></tt> when multiplying vectors and matrices.</li>
+<li>Must use <tt class="docutils literal"><span class="pre">varying.def.sc</span></tt> to define input/output semantic and
+precission instead of using <tt class="docutils literal"><span class="pre">attribute/in</span></tt> and <tt class="docutils literal"><span class="pre">varying/in/out</span></tt>.</li>
+<li><tt class="docutils literal"><span class="pre">$input/$output</span></tt> tokens must appear at the begining of shader.</li>
 </ul>
 <p>For more info see <a class="reference external" href="https://github.com/bkaradzic/bgfx/blob/master/src/bgfx_shader.sh">shader helper
 macros</a>.</p>
@@ -334,6 +184,7 @@ shaders is provided in examples. D3D9 and D3D11 shaders can be only compiled on
 </div>
 
 
+           </div>
           </div>
           <footer>
   
@@ -352,8 +203,9 @@ shaders is provided in examples. D3D9 and D3D11 shaders can be only compiled on
   <div role="contentinfo">
     <p>
         &copy; Copyright 2010-2016, Branimir Karadžić.
+
     </p>
-  </div>
+  </div> 
 
 </footer>
 

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików