Skip to content

Commit

Permalink
Deploying to gh-pages from @ 8406997 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vonture committed Sep 19, 2024
1 parent 18857af commit 4d3a4de
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 88 deletions.
2 changes: 1 addition & 1 deletion assets/search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion interfaces/GPUAdapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h3 class="tsd-anchor-link"><span>request<wbr/>Device</span><a href="#requestDev
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Requests a device from the adapter.
This is a one-time action: if a device is returned successfully,
the adapter [$expires$].</p>
the adapter becomes adapter#state &quot;consumed&quot;.</p>
</div>
<div class="tsd-parameters">
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
2 changes: 1 addition & 1 deletion interfaces/GPUBuffer.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h3 class="tsd-anchor-link"><span>unmap</span><a href="#unmap" aria-label="Perma
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
<li class="tsd-signature tsd-anchor-link" id="unmap.unmap-1">unmap<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><a href="#unmap.unmap-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
<li class="tsd-description">
<div class="tsd-comment tsd-typography"><p>Unmaps the mapped range of the <a href="GPUBuffer.html">GPUBuffer</a> and makes it&#39;s contents available for use by the
<div class="tsd-comment tsd-typography"><p>Unmaps the mapped range of the <a href="GPUBuffer.html">GPUBuffer</a> and makes its contents available for use by the
GPU again.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span></h4></li></ul></section></section></div>
Expand Down
6 changes: 3 additions & 3 deletions interfaces/GPUDepthStencilState.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ <h2>Properties</h2>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="depthBias" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>depth<wbr/>Bias</span><a href="#depthBias" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<div class="tsd-signature">depth<wbr/>Bias<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Constant depth bias added to each fragment. See [$biased fragment depth$] for details.</p>
<div class="tsd-comment tsd-typography"><p>Constant depth bias added to each triangle fragment. See [$biased fragment depth$] for details.</p>
</div></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="depthBiasClamp" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>depth<wbr/>Bias<wbr/>Clamp</span><a href="#depthBiasClamp" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">depth<wbr/>Bias<wbr/>Clamp<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>The maximum depth bias of a fragment. See [$biased fragment depth$] for details.</p>
<div class="tsd-comment tsd-typography"><p>The maximum depth bias of a triangle fragment. See [$biased fragment depth$] for details.</p>
</div></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="depthBiasSlopeScale" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>depth<wbr/>Bias<wbr/>Slope<wbr/>Scale</span><a href="#depthBiasSlopeScale" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">depth<wbr/>Bias<wbr/>Slope<wbr/>Scale<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
<div class="tsd-comment tsd-typography"><p>Depth bias that scales with the fragment’s slope. See [$biased fragment depth$] for details.</p>
<div class="tsd-comment tsd-typography"><p>Depth bias that scales with the triangle fragment’s slope. See [$biased fragment depth$] for details.</p>
</div></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="depthCompare" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>depth<wbr/>Compare</span><a href="#depthCompare" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
Expand Down
2 changes: 2 additions & 0 deletions interfaces/GPUDevice.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ <h3 class="tsd-anchor-link"><span>create<wbr/>Compute<wbr/>Pipeline<wbr/>Async</
The returned Promise resolves when the created pipeline
is ready to be used without additional delay.
If pipeline creation fails, the returned Promise rejects with an <a href="GPUPipelineError.html">GPUPipelineError</a>.
(A <a href="GPUError.html">GPUError</a> is not dispatched to the device.)
Note: Use of this method is preferred whenever possible, as it prevents blocking the
queue timeline work on pipeline compilation.</p>
</div>
Expand Down Expand Up @@ -285,6 +286,7 @@ <h3 class="tsd-anchor-link"><span>create<wbr/>Render<wbr/>Pipeline<wbr/>Async</s
The returned Promise resolves when the created pipeline
is ready to be used without additional delay.
If pipeline creation fails, the returned Promise rejects with an <a href="GPUPipelineError.html">GPUPipelineError</a>.
(A <a href="GPUError.html">GPUError</a> is not dispatched to the device.)
Note: Use of this method is preferred whenever possible, as it prevents blocking the
queue timeline work on pipeline compilation.</p>
</div>
Expand Down
8 changes: 4 additions & 4 deletions interfaces/GPUDeviceDescriptor.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
</div></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="requiredLimits" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>required<wbr/>Limits</span><a href="#requiredLimits" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">required<wbr/>Limits<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></div>
<div class="tsd-signature">required<wbr/>Limits<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">&gt;</span></div>
<div class="tsd-comment tsd-typography"><p>Specifies the limits that are required by the device request.
The request will fail if the adapter cannot provide these limits.
Each key must be the name of a member of supported limits.
Exactly the specified limits, and no limit/better or worse,
will be allowed in validation of API calls on the resulting device.</p>
Each key with a non-<code>undefined</code> value must be the name of a member of supported limits.
API calls on the resulting device perform validation according to the exact limits of the
device (not the adapter; see <a href="https://www.w3.org/TR/webgpu/#limits">https://www.w3.org/TR/webgpu/#limits</a>).</p>
<!-- If we ever need limit types other than GPUSize32/GPUSize64, we can change the value
type to `double` or `any` in the future and write out the type conversion explicitly (by
reference to WebIDL spec). Or change the entire type to `any` and add back a `dictionary
Expand Down
3 changes: 2 additions & 1 deletion interfaces/GPUExternalTextureDescriptor.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="source" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>source</span><a href="#source" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">source<span class="tsd-signature-symbol">:</span> <a href="HTMLVideoElement.html" class="tsd-signature-type" data-tsd-kind="Interface">HTMLVideoElement</a><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">VideoFrame</span></div>
<div class="tsd-comment tsd-typography"><p>The video source to import the external texture from.</p>
<div class="tsd-comment tsd-typography"><p>The video source to import the external texture from. Source size is determined as described
by the external source dimensions table.</p>
</div></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
Expand Down
47 changes: 3 additions & 44 deletions interfaces/GPUImageCopyExternalImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,50 +51,9 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<h3 class="tsd-anchor-link"><span>source</span><a href="#source" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">source<span class="tsd-signature-symbol">:</span> <a href="../types/GPUImageCopyExternalImageSource.html" class="tsd-signature-type" data-tsd-kind="Type alias">GPUImageCopyExternalImageSource</a></div>
<div class="tsd-comment tsd-typography"><p>The source of the image copy. The copy source data is captured at the moment that
<a href="GPUQueue.html#copyExternalImageToTexture">copyExternalImageToTexture</a> is issued. Source size is defined by source
type, given by this table:</p>
<table class=data>
<thead>
<tr>
<th>Source type
<th>Dimensions
</thead>
<tbody>
<tr>
<td>ImageBitmap
<td>ImageBitmap#widt | mageBitmap.width,
ImageBitmap#heigh | mageBitmap.height
<tr>
<td>HTMLImageElement
<td>HTMLImageElement#naturalWidt | TMLImageElement.naturalWidth,
HTMLImageElement#naturalHeigh | TMLImageElement.naturalHeight
<tr>
<td><a href="HTMLVideoElement.html">HTMLVideoElement</a>
<td>video/intrinsic width|intrinsic width of the frame,
video/intrinsic height|intrinsic height of the frame
<tr>
<td>VideoFrame
<td>VideoFrame#codedWidt | ideoFrame.codedWidth,
VideoFrame#codedHeigh | ideoFrame.codedHeight
<tr>
<td>ImageData
<td>ImageData#widt | mageData.width,
ImageData#heigh | mageData.height
<tr>
<td><a href="HTMLCanvasElement.html">HTMLCanvasElement</a> or <a href="OffscreenCanvas.html">OffscreenCanvas</a> with CanvasRenderingContext2D or <a href="GPUCanvasContext.html">GPUCanvasContext</a>
<td>HTMLCanvasElement#widt | TMLCanvasElement.width,
HTMLCanvasElement#heigh | TMLCanvasElement.height
<tr>
<td><a href="HTMLCanvasElement.html">HTMLCanvasElement</a> or <a href="OffscreenCanvas.html">OffscreenCanvas</a> with WebGLRenderingContextBase
<td>WebGLRenderingContextBase#drawingBufferWidt | ebGLRenderingContextBase.drawingBufferWidth,
WebGLRenderingContextBase#drawingBufferHeigh | ebGLRenderingContextBase.drawingBufferHeight
<tr>
<td><a href="HTMLCanvasElement.html">HTMLCanvasElement</a> or <a href="OffscreenCanvas.html">OffscreenCanvas</a> with ImageBitmapRenderingContext
<td>ImageBitmapRenderingContext's internal output bitmap
ImageBitmap#widt | mageBitmap.width,
ImageBitmap#heigh | mageBitmap.height
</tbody>
</table></div></section></section></div>
<a href="GPUQueue.html#copyExternalImageToTexture">copyExternalImageToTexture</a> is issued. Source size is determined as described
by the external source dimensions table.</p>
</div></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
Expand Down
6 changes: 4 additions & 2 deletions interfaces/GPURenderBundleEncoderDescriptor.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<div class="tsd-signature">depth<wbr/>Read<wbr/>Only<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>If <code>true</code>, indicates that the render bundle does not modify the depth component of the
<a href="GPURenderPassDepthStencilAttachment.html">GPURenderPassDepthStencilAttachment</a> of any render pass the render bundle is executed
in.</p>
in.
See read-only depth-stencil.</p>
</div></section>
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-inherited"><a id="depthStencilFormat" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>depth<wbr/>Stencil<wbr/>Format</span><a href="#depthStencilFormat" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
Expand All @@ -73,7 +74,8 @@ <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code
<div class="tsd-signature">stencil<wbr/>Read<wbr/>Only<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
<div class="tsd-comment tsd-typography"><p>If <code>true</code>, indicates that the render bundle does not modify the stencil component of the
<a href="GPURenderPassDepthStencilAttachment.html">GPURenderPassDepthStencilAttachment</a> of any render pass the render bundle is executed
in.</p>
in.
See read-only depth-stencil.</p>
</div></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
Expand Down
Loading

0 comments on commit 4d3a4de

Please sign in to comment.