Skip to content

Commit 27c104d

Browse files
committed
Deploying to master from @ 318cb7aa9b7a1074a0d98092ba82444b84d8b3e2 🚀
1 parent e6b2247 commit 27c104d

File tree

67 files changed

+264
-260
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+264
-260
lines changed

‎doc/implementors/core/clone/trait.Clone.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎doc/search-index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎doc/src/wgpu/lib.rs.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,6 +3797,8 @@
37973797
<span id="3795">3795</span>
37983798
<span id="3796">3796</span>
37993799
<span id="3797">3797</span>
3800+
<span id="3798">3798</span>
3801+
<span id="3799">3799</span>
38003802
</pre><pre class="rust"><code><span class="doccomment">//! A cross-platform graphics and compute library based on [WebGPU](https://gpuweb.github.io/gpuweb/).
38013803
//!
38023804
//! To start using the API, create an [`Instance`].
@@ -4635,6 +4637,7 @@
46354637
/// Any necessary shader translation (e.g. from WGSL to SPIR-V or vice versa)
46364638
/// will be done internally by wgpu.
46374639
</span><span class="attribute">#[cfg_attr(feature = <span class="string">&quot;naga&quot;</span>, allow(clippy::large_enum_variant))]
4640+
#[derive(Clone)]
46384641
#[non_exhaustive]
46394642
</span><span class="kw">pub enum </span>ShaderSource&lt;<span class="lifetime">&#39;a</span>&gt; {
46404643
<span class="doccomment">/// SPIR-V module represented as a slice of words.
@@ -4675,6 +4678,7 @@
46754678
///
46764679
/// Corresponds to [WebGPU `GPUShaderModuleDescriptor`](
46774680
/// https://gpuweb.github.io/gpuweb/#dictdef-gpushadermoduledescriptor).
4681+
</span><span class="attribute">#[derive(Clone)]
46784682
</span><span class="kw">pub struct </span>ShaderModuleDescriptor&lt;<span class="lifetime">&#39;a</span>&gt; {
46794683
<span class="doccomment">/// Debug label of the shader module. This will show up in graphics debuggers for easy identification.
46804684
</span><span class="kw">pub </span>label: Label&lt;<span class="lifetime">&#39;a</span>&gt;,

‎doc/wgpu/enum.BindingResource.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎doc/wgpu/enum.Error.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎doc/wgpu/enum.LoadOp.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎doc/wgpu/enum.MapMode.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎doc/wgpu/enum.ShaderSource.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

‎doc/wgpu/enum.SurfaceError.html

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

‎doc/wgpu/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A cross-platform graphics and compute library based on WebGPU."><meta name="keywords" content="rust, rustlang, rust-lang, wgpu"><title>wgpu - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="../crates.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../wgpu/index.html"><div class="logo-container"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../wgpu/index.html"><div class="logo-container">
22
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></div></a><h2 class="location"><a href="#">Crate wgpu</a></h2><div class="sidebar-elems"><div class="block"><ul><li class="version">Version 0.14.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul></div><section><div class="block"><ul><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div></section></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../wgpu/index.html">
3-
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">wgpu</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/wgpu/lib.rs.html#1-3797">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A cross-platform graphics and compute library based on <a href="https://gpuweb.github.io/gpuweb/">WebGPU</a>.</p>
3+
<img src="https://raw.githubusercontent.com/gfx-rs/wgpu/master/logo.png" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">wgpu</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/wgpu/lib.rs.html#1-3799">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A cross-platform graphics and compute library based on <a href="https://gpuweb.github.io/gpuweb/">WebGPU</a>.</p>
44
<p>To start using the API, create an <a href="struct.Instance.html" title="Instance"><code>Instance</code></a>.</p>
55
</div></details><h2 id="modules" class="small-section-header"><a href="#modules">Modules</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="mod" href="util/index.html" title="wgpu::util mod">util</a></div><div class="item-right docblock-short">Utility structures and functions.</div></div></div><h2 id="macros" class="small-section-header"><a href="#macros">Macros</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="macro" href="macro.include_spirv_raw.html" title="wgpu::include_spirv_raw macro">include_spirv_raw</a></div><div class="item-right docblock-short">Macro to load raw SPIR-V data statically, for use with <a href="struct.Features.html#associatedconstant.SPIRV_SHADER_PASSTHROUGH"><code>Features::SPIRV_SHADER_PASSTHROUGH</code></a>.</div></div><div class="item-row"><div class="item-left module-item"><a class="macro" href="macro.include_wgsl.html" title="wgpu::include_wgsl macro">include_wgsl</a></div><div class="item-right docblock-short">Macro to load a WGSL module statically.</div></div><div class="item-row"><div class="item-left module-item"><a class="macro" href="macro.vertex_attr_array.html" title="wgpu::vertex_attr_array macro">vertex_attr_array</a></div><div class="item-right docblock-short">Macro to produce an array of <a href="struct.VertexAttribute.html"><code>VertexAttribute</code></a>.</div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Adapter.html" title="wgpu::Adapter struct">Adapter</a></div><div class="item-right docblock-short">Handle to a physical graphics and/or compute device.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.AdapterInfo.html" title="wgpu::AdapterInfo struct">AdapterInfo</a></div><div class="item-right docblock-short">Information about an adapter.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Backends.html" title="wgpu::Backends struct">Backends</a></div><div class="item-right docblock-short">Represents the backends that wgpu will use.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroup.html" title="wgpu::BindGroup struct">BindGroup</a></div><div class="item-right docblock-short">Handle to a binding group.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroupDescriptor.html" title="wgpu::BindGroupDescriptor struct">BindGroupDescriptor</a></div><div class="item-right docblock-short">Describes a group of bindings and the resources to be bound.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroupEntry.html" title="wgpu::BindGroupEntry struct">BindGroupEntry</a></div><div class="item-right docblock-short">An element of a <a href="struct.BindGroupDescriptor.html" title="BindGroupDescriptor"><code>BindGroupDescriptor</code></a>, consisting of a bindable resource
66
and the slot to bind it to.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroupLayout.html" title="wgpu::BindGroupLayout struct">BindGroupLayout</a></div><div class="item-right docblock-short">Handle to a binding group layout.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroupLayoutDescriptor.html" title="wgpu::BindGroupLayoutDescriptor struct">BindGroupLayoutDescriptor</a></div><div class="item-right docblock-short">Describes a <a href="struct.BindGroupLayout.html" title="BindGroupLayout"><code>BindGroupLayout</code></a>.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BindGroupLayoutEntry.html" title="wgpu::BindGroupLayoutEntry struct">BindGroupLayoutEntry</a></div><div class="item-right docblock-short">Describes a single binding inside a bind group.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BlendComponent.html" title="wgpu::BlendComponent struct">BlendComponent</a></div><div class="item-right docblock-short">Describes a blend component of a <a href="struct.BlendState.html" title="BlendState"><code>BlendState</code></a>.</div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.BlendState.html" title="wgpu::BlendState struct">BlendState</a></div><div class="item-right docblock-short">Describe the blend state of a render pipeline,

0 commit comments

Comments
 (0)