Explorar o código

Updated docs.

Бранимир Караџић %!s(int64=5) %!d(string=hai) anos
pai
achega
43546308cc
Modificáronse 12 ficheiros con 33 adicións e 15 borrados
  1. 4 3
      bgfx.html
  2. 1 1
      build.html
  3. 16 1
      examples.html
  4. 2 2
      genindex.html
  5. 2 1
      index.html
  6. 1 1
      internals.html
  7. 2 2
      license.html
  8. BIN=BIN
      objects.inv
  9. 3 2
      overview.html
  10. 1 1
      search.html
  11. 0 0
      searchindex.js
  12. 1 1
      tools.html

+ 4 - 3
bgfx.html

@@ -2120,8 +2120,8 @@ creating windows.</p>
 </dd></dl>
 
 <dl class="cpp function">
-<dt id="_CPPv4N4bgfx12weldVerticesEP8uint16_tRK12VertexLayoutPKv8uint16_tf">
-<span id="_CPPv3N4bgfx12weldVerticesEP8uint16_tRK12VertexLayoutPKv8uint16_tf"></span><span id="_CPPv2N4bgfx12weldVerticesEP8uint16_tRK12VertexLayoutPKv8uint16_tf"></span><span id="bgfx::weldVertices__uint16_tP.VertexLayoutCR.voidCP.uint16_t.float"></span><span class="target" id="namespacebgfx_1a420fcb4891cce3c5b1ba8622b6d93e92"></span>uint16_t <code class="sig-prename descclassname">bgfx<code class="sig-prename descclassname">::</code></code><code class="sig-name descname">weldVertices</code><span class="sig-paren">(</span>uint16_t *<em>_output</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv4N4bgfx12VertexLayoutE" title="bgfx::VertexLayout">VertexLayout</a> &amp;<em>_layout</em>, <em class="property">const</em> void *<em>_data</em>, uint16_t <em>_num</em>, float <em>_epsilon</em> = 0.001f<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx12weldVerticesEP8uint16_tRK12VertexLayoutPKv8uint16_tf" title="Permalink to this definition">¶</a><br /></dt>
+<dt id="_CPPv4N4bgfx12weldVerticesEPvRK12VertexLayoutPKv8uint32_tbf">
+<span id="_CPPv3N4bgfx12weldVerticesEPvRK12VertexLayoutPKv8uint32_tbf"></span><span id="_CPPv2N4bgfx12weldVerticesEPvRK12VertexLayoutPKv8uint32_tbf"></span><span id="bgfx::weldVertices__voidP.VertexLayoutCR.voidCP.uint32_t.b.float"></span><span class="target" id="namespacebgfx_1a9242a9ab0e66291a8952ec3222519bce"></span>uint32_t <code class="sig-prename descclassname">bgfx<code class="sig-prename descclassname">::</code></code><code class="sig-name descname">weldVertices</code><span class="sig-paren">(</span>void *<em>_output</em>, <em class="property">const</em> <a class="reference internal" href="#_CPPv4N4bgfx12VertexLayoutE" title="bgfx::VertexLayout">VertexLayout</a> &amp;<em>_layout</em>, <em class="property">const</em> void *<em>_data</em>, uint32_t <em>_num</em>, bool <em>_index32</em>, float <em>_epsilon</em> = 0.001f<span class="sig-paren">)</span><a class="headerlink" href="#_CPPv4N4bgfx12weldVerticesEPvRK12VertexLayoutPKv8uint32_tbf" title="Permalink to this definition">¶</a><br /></dt>
 <dd><p>Weld vertices. </p>
 <p><dl class="simple">
 <dt><strong>Return</strong></dt><dd><p>Number of unique vertices after vertex welding.</p>
@@ -2133,6 +2133,7 @@ creating windows.</p>
 <li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_layout</span></code>: Vertex stream layout. </p></li>
 <li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_data</span></code>: Vertex stream. </p></li>
 <li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_num</span></code>: Number of vertices in vertex stream. </p></li>
+<li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_index32</span></code>: Set to <code class="docutils literal notranslate"><span class="pre">true</span></code> if input indices are 32-bit. </p></li>
 <li><p><code class="docutils literal notranslate"><span class="pre">[in]</span> <span class="pre">_epsilon</span></code>: Error tolerance for vertex position comparison. </p></li>
 </ul>
 </dd>
@@ -7149,7 +7150,7 @@ otherwise prefer <cite>bgfx::setViewScissor</cite>.</p>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 1 - 1
build.html

@@ -386,7 +386,7 @@ system.</p>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 16 - 1
examples.html

@@ -134,6 +134,7 @@
 <li class="toctree-l2"><a class="reference internal" href="#assao">39-assao</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#svt">40-svt</a></li>
 <li class="toctree-l2"><a class="reference internal" href="#tess">41-tess</a></li>
+<li class="toctree-l2"><a class="reference internal" href="#bunnylod">42-bunnylod</a></li>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a></li>
@@ -1203,6 +1204,20 @@ off programatically.</p>
 <img alt="example-41-tess" src="https://github.com/bkaradzic/bgfx/raw/master/examples/41-tess/screenshot.png" />
 </div>
 </div>
+<div class="section" id="bunnylod">
+<h2><a class="reference external" href="https://github.com/bkaradzic/bgfx/tree/master/examples/42-bunnylod">42-bunnylod</a><a class="headerlink" href="#bunnylod" title="Permalink to this headline">¶</a></h2>
+<p>Simple Polygon Reduction</p>
+<p>Reference(s):</p>
+<blockquote>
+<div><ul class="simple">
+<li><p><a class="reference external" href="https://web.archive.org/web/20020114194131/http://www.melax.com/polychop/">Simple Polygon Reduction</a>.</p></li>
+<li><p><a class="reference external" href="https://web.archive.org/web/20031204035320/http://www.melax.com/polychop/gdmag.pdf">A Simple, Fast,and Effective Polygon Reduction Algorithm</a>.</p></li>
+</ul>
+</div></blockquote>
+<div class="figure align-default">
+<img alt="example-42-bunnylod" src="https://github.com/bkaradzic/bgfx/raw/master/examples/42-bunnylod/screenshot.png" />
+</div>
+</div>
 </div>
 
 
@@ -1225,7 +1240,7 @@ off programatically.</p>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 2 - 2
genindex.html

@@ -1125,7 +1125,7 @@
 </li>
       <li><a href="bgfx.html#_CPPv4N4bgfx9ViewStats4viewE">bgfx::ViewStats::view (C++ member)</a>
 </li>
-      <li><a href="bgfx.html#_CPPv4N4bgfx12weldVerticesEP8uint16_tRK12VertexLayoutPKv8uint16_tf">bgfx::weldVertices (C++ function)</a>
+      <li><a href="bgfx.html#_CPPv4N4bgfx12weldVerticesEPvRK12VertexLayoutPKv8uint32_tbf">bgfx::weldVertices (C++ function)</a>
 </li>
       <li><a href="bgfx.html#c.BGFX_CAPS_ALPHA_TO_COVERAGE">BGFX_CAPS_ALPHA_TO_COVERAGE (C macro)</a>
 </li>
@@ -1334,7 +1334,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 2 - 1
index.html

@@ -262,6 +262,7 @@ licensed under permissive BSD-2 clause open source license.</p>
 <li class="toctree-l2"><a class="reference internal" href="examples.html#assao">39-assao</a></li>
 <li class="toctree-l2"><a class="reference internal" href="examples.html#svt">40-svt</a></li>
 <li class="toctree-l2"><a class="reference internal" href="examples.html#tess">41-tess</a></li>
+<li class="toctree-l2"><a class="reference internal" href="examples.html#bunnylod">42-bunnylod</a></li>
 </ul>
 </li>
 <li class="toctree-l1"><a class="reference internal" href="bgfx.html">API Reference</a><ul>
@@ -360,7 +361,7 @@ licensed under permissive BSD-2 clause open source license.</p>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 1 - 1
internals.html

@@ -228,7 +228,7 @@ SDK</a>, <a class="reference external" href="http://www.malideveloper.com/">Mali
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 2 - 2
license.html

@@ -175,7 +175,7 @@
 <h1>License<a class="headerlink" href="#license" title="Permalink to this headline">¶</a></h1>
 <div class="section" id="license-bsd-2-clause">
 <h2><a class="reference external" href="https://github.com/bkaradzic/bgfx/blob/master/LICENSE">License (BSD 2-clause)</a><a class="headerlink" href="#license-bsd-2-clause" title="Permalink to this headline">¶</a></h2>
-<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Copyright</span> <span class="mi">2010</span><span class="o">-</span><span class="mi">2019</span> <span class="n">Branimir</span> <span class="n">Karadzic</span>
+<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Copyright</span> <span class="mi">2010</span><span class="o">-</span><span class="mi">2020</span> <span class="n">Branimir</span> <span class="n">Karadzic</span>
 
 <span class="n">Redistribution</span> <span class="ow">and</span> <span class="n">use</span> <span class="ow">in</span> <span class="n">source</span> <span class="ow">and</span> <span class="n">binary</span> <span class="n">forms</span><span class="p">,</span> <span class="k">with</span> <span class="ow">or</span> <span class="n">without</span> <span class="n">modification</span><span class="p">,</span>
 <span class="n">are</span> <span class="n">permitted</span> <span class="n">provided</span> <span class="n">that</span> <span class="n">the</span> <span class="n">following</span> <span class="n">conditions</span> <span class="n">are</span> <span class="n">met</span><span class="p">:</span>
@@ -436,7 +436,7 @@ contour texturing.</p>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

BIN=BIN
objects.inv


+ 3 - 2
overview.html

@@ -548,7 +548,8 @@ cubemap as texture 2D array in a compute shader.</p></li>
 <a class="reference external" href="examples.html#pom">33-pom</a> example.</p></li>
 <li><p>Stanislav Pidhorsky (<a class="reference external" href="https://github.com/podgorskiy">&#64;podgorskiy</a>) -
 <a class="reference external" href="examples.html#sky">36-sky</a> example.</p></li>
-<li><p>云风 (<a class="reference external" href="https://github.com/cloudwu">&#64;cloudwu</a>) - Alternative Lua bindings, bgfx IDL scripts.</p></li>
+<li><p>云风 (<a class="reference external" href="https://github.com/cloudwu">&#64;cloudwu</a>) - Alternative Lua bindings, bgfx IDL scripts,
+<a class="reference external" href="examples.html#bunnylod">42-bunnylod</a> example.</p></li>
 <li><p>Kostas Anagnostou (<a class="reference external" href="https://github.com/KostasAAA">&#64;KostasAAA</a>) -
 <a class="reference external" href="examples.html#gpudrivenrendering">37-gpudrivenrendering</a> example.</p></li>
 <li><p>Andrew Willmott (<a class="reference external" href="https://github.com/andrewwillmott">&#64;andrewwillmott</a>) - ATC and ASTC support.</p></li>
@@ -604,7 +605,7 @@ bindings.</p></li>
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

+ 1 - 1
search.html

@@ -177,7 +177,7 @@
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
searchindex.js


+ 1 - 1
tools.html

@@ -228,7 +228,7 @@ shaders is provided in examples. D3D9 and D3D11 shaders can be only compiled on
 
   <div role="contentinfo">
     <p>
-        &copy; Copyright 2010-2019, Branimir Karadžić
+        &copy; Copyright 2010-2020, Branimir Karadžić
 
     </p>
   </div> 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio