Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 11, 2023
1 parent b59a48a commit acaa6ee
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion file_hashes.json

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h2>API Reference</h2>

<a id="downloadButton" href="https://code.dlang.org/packages/wgpu-d">
<div class="bs-hbtn right black">
<div class="content">get <strong>wgpu-d</strong><br><large>0.1.0</large></div>
<div class="content">get <strong>wgpu-d</strong><br><large>0.1.2</large></div>
</div><div class="bs-hbtn left red">
<div class="dub-logo"></div>
</div>
Expand All @@ -137,17 +137,16 @@ <h1>wgpu-d API Reference</h1>
<a target="_blank" rel="noopener noreferrer" href="https://github.com/chances/wgpu-d/workflows/wgpu-d%20CI/badge.svg?branch=master">
<img src="https://github.com/chances/wgpu-d/workflows/wgpu-d%20CI/badge.svg?branch=master" alt="wgpu-d CI">
</a>
<!-- TODO: Add unit and/or integration tests -->
<!-- <a href="https://codecov.io/gh/chances/wgpu-d/">
<a href="https://codecov.io/gh/chances/wgpu-d">
<img src="https://codecov.io/gh/chances/wgpu-d/branch/master/graph/badge.svg" alt="codecov">
</a> -->
</a>
</p>
<p>D bindings to <a href="https://github.com/gfx-rs/wgpu-native">wgpu-native</a> as an idiomatic D wrapper around the library.</p>
<p>Targets wgpu-native <code><a href="https://github.com/gfx-rs/wgpu-native/releases/tag/v0.10.4.1">v0.10.4.1</a></code>.</p>
<h2 id="Usage">Usage</h2>
<pre class="json">
"dependencies": {
"wgpu-d": "0.1.0"
"wgpu-d": "0.1.2"
}
</pre>
<h2>Examples</h2>
Expand All @@ -156,6 +155,8 @@ <h3>Headless</h3>
<pre>dub run wgpu-d:headless</pre>
<h3>Triangle</h3>
<pre>dub run wgpu-d:triangle</pre>
<h3>Cube</h3>
<pre>dub run wgpu-d:cube</pre>
<h2>Modules</h2>
<table>
<col class="caption"/>
Expand Down
2 changes: 1 addition & 1 deletion wgpu/api/RenderPass.setIndexBuffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h1>Function RenderPass.setIndexBuffer</h1><p>Sets the active index buffer.
<br/>
<span class="pun">)</span>
<br/>
<span class="kwd">if</span> <span class="pun">(</span><span class="kwd">is</span><span class="pun">(</span><span class="pln">T </span><span class="pun">== v</span><span class="typ">short</span><span class="pun">) || </span><span class="kwd">is</span><span class="pun">(</span><span class="pln">T </span><span class="pun">== </span><span class="typ">uint</span><span class="pun">)</span><span class="pun">);</span>
<span class="kwd">if</span> <span class="pun">(</span><span class="kwd">is</span><span class="pun">(</span><span class="pln">T </span><span class="pun">== </span><span class="typ">ushort</span><span class="pun">) || </span><span class="kwd">is</span><span class="pun">(</span><span class="pln">T </span><span class="pun">== </span><span class="typ">uint</span><span class="pun">)</span><span class="pun">);</span>
<br/>
<br/>
<span class="typ">void</span> <span class="pln">setIndexBuffer</span>
Expand Down
2 changes: 1 addition & 1 deletion wgpu/limits/defaultLimits.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>Enum member defaultLimits</h1><p>The set of limits that is guaranteed to wor
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">enum</span> <span class="pln">defaultLimits</span>
<span class="pun">=</span> <span class="typ">WGPULimits</span><span class="pun">(</span><span class="lit">8192u</span><span class="pun">, </span><span class="lit">8192u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">,!</span><span class="lit">2048u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">12u</span><span class="pun">, </span><span class="lit">16384LU</span><span class="pun">, </span><span class="lit">134217728LU</span><span class="pun">, , , </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, , , , , , , )</span><span class="pun">;</span>
<span class="pun">=</span> <span class="typ">WGPULimits</span><span class="pun">(</span><span class="lit">8192u</span><span class="pun">, </span><span class="lit">8192u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">12u</span><span class="pun">, </span><span class="lit">16384LU</span><span class="pun">, </span><span class="lit">134217728LU</span><span class="pun">, , , </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, , , , , , , )</span><span class="pun">;</span>
</div>
</code>
</div>
Expand Down
2 changes: 1 addition & 1 deletion wgpu/limits/downlevelDefaultLimits.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h1>Enum member downlevelDefaultLimits</h1><p>The set of limits that are guarant
<code class="lang-d">
<div class="single-prototype">
<span class="kwd">enum</span> <span class="pln">downlevelDefaultLimits</span>
<span class="pun">=</span> <span class="typ">WGPULimits</span><span class="pun">(</span><span class="lit">2096u</span><span class="pun">, </span><span class="lit">2096u</span><span class="pun">, </span><span class="lit">256u</span><span class="pun">, 3</span><span class="lit">56u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">12u</span><span class="pun">, </span><span class="lit">16384LU</span><span class="pun">, </span><span class="lit">134217728LU</span><span class="pun">, , , </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, , , , , , , )</span><span class="pun">;</span>
<span class="pun">=</span> <span class="typ">WGPULimits</span><span class="pun">(</span><span class="lit">2096u</span><span class="pun">, </span><span class="lit">2096u</span><span class="pun">, </span><span class="lit">256u</span><span class="pun">, </span><span class="lit">256u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">4u</span><span class="pun">, </span><span class="lit">12u</span><span class="pun">, </span><span class="lit">16384LU</span><span class="pun">, </span><span class="lit">134217728LU</span><span class="pun">, , , </span><span class="lit">8u</span><span class="pun">, </span><span class="lit">16u</span><span class="pun">, </span><span class="lit">2048u</span><span class="pun">, , , , , , , )</span><span class="pun">;</span>
</div>
</code>
</div>
Expand Down
2 changes: 1 addition & 1 deletion wgpu/utils.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>Functions</h2>
<a id="createBuffer" class="public" href="../wgpu/utils/createBuffer.html">createBuffer</a><span class="tableEntryAnnotation">(device, usage, data, label)</span>
</code>
</td>
<td>Creates a buffer in wich <code class="lang-d"><a href="../wgpu/utils/createBuffer.html#data"><span class="pln">data</span></a></code> is loaded.
<td>Creates a buffer in which <code class="lang-d"><a href="../wgpu/utils/createBuffer.html#data"><span class="pln">data</span></a></code> is loaded.
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion wgpu/utils/createBuffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>API Reference</h2>
</ul>
</nav>
<div id="main-contents">
<h1>Function createBuffer</h1><p>Creates a buffer in wich <code class="lang-d"><a href="../../wgpu/utils/createBuffer.html#data"><span class="pln">data</span></a></code> is loaded.
<h1>Function createBuffer</h1><p>Creates a buffer in which <code class="lang-d"><a href="../../wgpu/utils/createBuffer.html#data"><span class="pln">data</span></a></code> is loaded.
</p>
<div class="prototype">
<code class="lang-d">
Expand Down

0 comments on commit acaa6ee

Please sign in to comment.