Skip to content

Commit 7b83645

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@4566e56 🚀
1 parent 5df7811 commit 7b83645

24 files changed

+49
-49
lines changed

doc/trait.impl/encase/core/traits/trait.CreateFrom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var implementors = Object.fromEntries([["wgpu_examples",[["impl CreateFrom for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.5/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: CreateFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: CreateFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: CreateFrom,</div>"]]]]);
2+
var implementors = Object.fromEntries([["wgpu_examples",[["impl CreateFrom for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.8/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: CreateFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: CreateFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: CreateFrom,</div>"]]]]);
33
if (window.register_implementors) {
44
window.register_implementors(implementors);
55
} else {

doc/trait.impl/encase/core/traits/trait.ReadFrom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var implementors = Object.fromEntries([["wgpu_examples",[["impl ReadFrom for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.5/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ReadFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ReadFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ReadFrom,</div>"]]]]);
2+
var implementors = Object.fromEntries([["wgpu_examples",[["impl ReadFrom for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.8/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ReadFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ReadFrom,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ReadFrom,</div>"]]]]);
33
if (window.register_implementors) {
44
window.register_implementors(implementors);
55
} else {

doc/trait.impl/encase/core/traits/trait.ShaderSize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var implementors = Object.fromEntries([["wgpu_examples",[["impl ShaderSize for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n <a class=\"struct\" href=\"https://docs.rs/glam/0.30.5/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ShaderSize,</div>"]]]]);
2+
var implementors = Object.fromEntries([["wgpu_examples",[["impl ShaderSize for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n <a class=\"struct\" href=\"https://docs.rs/glam/0.30.8/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ShaderSize,</div>"]]]]);
33
if (window.register_implementors) {
44
window.register_implementors(implementors);
55
} else {

doc/trait.impl/encase/core/traits/trait.ShaderType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var implementors = Object.fromEntries([["wgpu_examples",[["impl ShaderType for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n <a class=\"struct\" href=\"https://docs.rs/glam/0.30.5/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ShaderType + ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ShaderType + ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ShaderType,</div>"]]]]);
2+
var implementors = Object.fromEntries([["wgpu_examples",[["impl ShaderType for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n <a class=\"struct\" href=\"https://docs.rs/glam/0.30.8/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: ShaderType + ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: ShaderType + ShaderSize,\n <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: ShaderType,</div>"]]]]);
33
if (window.register_implementors) {
44
window.register_implementors(implementors);
55
} else {

doc/trait.impl/encase/core/traits/trait.WriteInto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function() {
2-
var implementors = Object.fromEntries([["wgpu_examples",[["impl WriteInto for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.5/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: WriteInto,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: WriteInto,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: WriteInto,</div>"]]]]);
2+
var implementors = Object.fromEntries([["wgpu_examples",[["impl WriteInto for <a class=\"struct\" href=\"wgpu_examples/uniform_values/struct.AppState.html\" title=\"struct wgpu_examples::uniform_values::AppState\">AppState</a><div class=\"where\">where\n Self: ShaderType&lt;ExtraMetadata = StructMetadata&lt;3usize&gt;&gt;,\n for&lt;'__&gt; <a class=\"struct\" href=\"https://docs.rs/glam/0.30.8/glam/f32/vec2/struct.Vec2.html\" title=\"struct glam::f32::vec2::Vec2\">Vec2</a>: WriteInto,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.f32.html\">f32</a>: WriteInto,\n for&lt;'__&gt; <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.88.0/std/primitive.u32.html\">u32</a>: WriteInto,</div>"]]]]);
33
if (window.register_implementors) {
44
window.register_implementors(implementors);
55
} else {

doc/wgpu_examples/cube/struct.Example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
uniform_buf: Buffer,
77
pipeline: RenderPipeline,
88
pipeline_wire: <a class="enum" href="https://doc.rust-lang.org/1.88.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RenderPipeline&gt;,
9-
}</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.vertex_buf" class="structfield section-header"><a href="#structfield.vertex_buf" class="anchor field">§</a><code>vertex_buf: Buffer</code></span><span id="structfield.index_buf" class="structfield section-header"><a href="#structfield.index_buf" class="anchor field">§</a><code>index_buf: Buffer</code></span><span id="structfield.index_count" class="structfield section-header"><a href="#structfield.index_count" class="anchor field">§</a><code>index_count: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.bind_group" class="structfield section-header"><a href="#structfield.bind_group" class="anchor field">§</a><code>bind_group: BindGroup</code></span><span id="structfield.uniform_buf" class="structfield section-header"><a href="#structfield.uniform_buf" class="anchor field">§</a><code>uniform_buf: Buffer</code></span><span id="structfield.pipeline" class="structfield section-header"><a href="#structfield.pipeline" class="anchor field">§</a><code>pipeline: RenderPipeline</code></span><span id="structfield.pipeline_wire" class="structfield section-header"><a href="#structfield.pipeline_wire" class="anchor field">§</a><code>pipeline_wire: <a class="enum" href="https://doc.rust-lang.org/1.88.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RenderPipeline&gt;</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Example" class="impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#93-103">Source</a><a href="#impl-Example" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Example.html" title="struct wgpu_examples::cube::Example">Example</a></h3></section></summary><div class="impl-items"><section id="method.generate_matrix" class="method"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#94-102">Source</a><h4 class="code-header">fn <a href="#method.generate_matrix" class="fn">generate_matrix</a>(aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="https://docs.rs/glam/0.30.5/glam/f32/sse2/mat4/struct.Mat4.html" title="struct glam::f32::sse2::mat4::Mat4">Mat4</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Example-for-Example" class="impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#105-376">Source</a><a href="#impl-Example-for-Example" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../framework/trait.Example.html" title="trait wgpu_examples::framework::Example">Example</a> for <a class="struct" href="struct.Example.html" title="struct wgpu_examples::cube::Example">Example</a></h3></section></summary><div class="impl-items"><section id="method.optional_features" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#106-108">Source</a><a href="#method.optional_features" class="anchor">§</a><h4 class="code-header">fn <a href="../framework/trait.Example.html#method.optional_features" class="fn">optional_features</a>() -&gt; <a class="struct" href="../../wgpu_types/features/struct.Features.html" title="struct wgpu_types::features::Features">Features</a></h4></section><section id="method.init" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#110-319">Source</a><a href="#method.init" class="anchor">§</a><h4 class="code-header">fn <a href="../framework/trait.Example.html#tymethod.init" class="fn">init</a>(
9+
}</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.vertex_buf" class="structfield section-header"><a href="#structfield.vertex_buf" class="anchor field">§</a><code>vertex_buf: Buffer</code></span><span id="structfield.index_buf" class="structfield section-header"><a href="#structfield.index_buf" class="anchor field">§</a><code>index_buf: Buffer</code></span><span id="structfield.index_count" class="structfield section-header"><a href="#structfield.index_count" class="anchor field">§</a><code>index_count: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.usize.html">usize</a></code></span><span id="structfield.bind_group" class="structfield section-header"><a href="#structfield.bind_group" class="anchor field">§</a><code>bind_group: BindGroup</code></span><span id="structfield.uniform_buf" class="structfield section-header"><a href="#structfield.uniform_buf" class="anchor field">§</a><code>uniform_buf: Buffer</code></span><span id="structfield.pipeline" class="structfield section-header"><a href="#structfield.pipeline" class="anchor field">§</a><code>pipeline: RenderPipeline</code></span><span id="structfield.pipeline_wire" class="structfield section-header"><a href="#structfield.pipeline_wire" class="anchor field">§</a><code>pipeline_wire: <a class="enum" href="https://doc.rust-lang.org/1.88.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;RenderPipeline&gt;</code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Example" class="impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#93-103">Source</a><a href="#impl-Example" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Example.html" title="struct wgpu_examples::cube::Example">Example</a></h3></section></summary><div class="impl-items"><section id="method.generate_matrix" class="method"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#94-102">Source</a><h4 class="code-header">fn <a href="#method.generate_matrix" class="fn">generate_matrix</a>(aspect_ratio: <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.f32.html">f32</a>) -&gt; <a class="struct" href="https://docs.rs/glam/0.30.8/glam/f32/sse2/mat4/struct.Mat4.html" title="struct glam::f32::sse2::mat4::Mat4">Mat4</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Example-for-Example" class="impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#105-376">Source</a><a href="#impl-Example-for-Example" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../framework/trait.Example.html" title="trait wgpu_examples::framework::Example">Example</a> for <a class="struct" href="struct.Example.html" title="struct wgpu_examples::cube::Example">Example</a></h3></section></summary><div class="impl-items"><section id="method.optional_features" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#106-108">Source</a><a href="#method.optional_features" class="anchor">§</a><h4 class="code-header">fn <a href="../framework/trait.Example.html#method.optional_features" class="fn">optional_features</a>() -&gt; <a class="struct" href="../../wgpu_types/features/struct.Features.html" title="struct wgpu_types::features::Features">Features</a></h4></section><section id="method.init" class="method trait-impl"><a class="src rightside" href="../../src/wgpu_examples/cube/mod.rs.html#110-319">Source</a><a href="#method.init" class="anchor">§</a><h4 class="code-header">fn <a href="../framework/trait.Example.html#tymethod.init" class="fn">init</a>(
1010
config: &amp;SurfaceConfiguration,
1111
_adapter: &amp;Adapter,
1212
device: &amp;Device,

0 commit comments

Comments
 (0)