Skip to content

Commit e8387aa

Browse files
Deploying to master from @ gfx-rs/wgpu@0e1baff 🚀
1 parent 387095c commit e8387aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/src/wgpu_types/lib.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12778,7 +12778,7 @@
1277812778
/// may have is COPY_DST.
1277912779
</span><span class="kw">const </span>MAP_READ = <span class="number">1 </span>&lt;&lt; <span class="number">0</span>;
1278012780
<span class="doccomment">/// Allow a buffer to be mapped for writing using [`Buffer::map_async`] + [`Buffer::get_mapped_range_mut`].
12781-
/// This does not include creating a buffer with `mapped_at_creation` set.
12781+
/// This does not include creating a buffer with [`BufferDescriptor::mapped_at_creation`] set.
1278212782
///
1278312783
/// If [`Features::MAPPABLE_PRIMARY_BUFFERS`] feature isn't enabled, the only other usage a buffer
1278412784
/// may have is COPY_SRC.

doc/wgpu/struct.BufferUsages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>If <a href="struct.Features.html#associatedconstant.MAPPABLE_PRIMARY_BUFFERS" title="associated constant wgpu::Features::MAPPABLE_PRIMARY_BUFFERS"><code>Features::MAPPABLE_PRIMARY_BUFFERS</code></a> isn’t enabled, the only other usage a buffer
88
may have is COPY_DST.</p>
99
</div></details><details class="toggle" open><summary><section id="associatedconstant.MAP_WRITE" class="associatedconstant"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4979-5027">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.MAP_WRITE" class="constant">MAP_WRITE</a>: <a class="struct" href="struct.BufferUsages.html" title="struct wgpu::BufferUsages">BufferUsages</a> = _</h4></section></summary><div class="docblock"><p>Allow a buffer to be mapped for writing using [<code>Buffer::map_async</code>] + [<code>Buffer::get_mapped_range_mut</code>].
10-
This does not include creating a buffer with <code>mapped_at_creation</code> set.</p>
10+
This does not include creating a buffer with <a href="../wgpu_types/struct.BufferDescriptor.html#structfield.mapped_at_creation" title="field wgpu_types::BufferDescriptor::mapped_at_creation"><code>BufferDescriptor::mapped_at_creation</code></a> set.</p>
1111
<p>If <a href="struct.Features.html#associatedconstant.MAPPABLE_PRIMARY_BUFFERS" title="associated constant wgpu::Features::MAPPABLE_PRIMARY_BUFFERS"><code>Features::MAPPABLE_PRIMARY_BUFFERS</code></a> feature isn’t enabled, the only other usage a buffer
1212
may have is COPY_SRC.</p>
1313
</div></details><details class="toggle" open><summary><section id="associatedconstant.COPY_SRC" class="associatedconstant"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4979-5027">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.COPY_SRC" class="constant">COPY_SRC</a>: <a class="struct" href="struct.BufferUsages.html" title="struct wgpu::BufferUsages">BufferUsages</a> = _</h4></section></summary><div class="docblock"><p>Allow a buffer to be the source buffer for a [<code>CommandEncoder::copy_buffer_to_buffer</code>] or [<code>CommandEncoder::copy_buffer_to_texture</code>]

doc/wgpu_types/struct.BufferUsages.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>If <a href="features/struct.Features.html#associatedconstant.MAPPABLE_PRIMARY_BUFFERS" title="associated constant wgpu_types::features::Features::MAPPABLE_PRIMARY_BUFFERS"><code>Features::MAPPABLE_PRIMARY_BUFFERS</code></a> isn’t enabled, the only other usage a buffer
88
may have is COPY_DST.</p>
99
</div></details><details class="toggle" open><summary><section id="associatedconstant.MAP_WRITE" class="associatedconstant"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4979-5027">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.MAP_WRITE" class="constant">MAP_WRITE</a>: Self = _</h4></section></summary><div class="docblock"><p>Allow a buffer to be mapped for writing using [<code>Buffer::map_async</code>] + [<code>Buffer::get_mapped_range_mut</code>].
10-
This does not include creating a buffer with <code>mapped_at_creation</code> set.</p>
10+
This does not include creating a buffer with <a href="struct.BufferDescriptor.html#structfield.mapped_at_creation" title="field wgpu_types::BufferDescriptor::mapped_at_creation"><code>BufferDescriptor::mapped_at_creation</code></a> set.</p>
1111
<p>If <a href="features/struct.Features.html#associatedconstant.MAPPABLE_PRIMARY_BUFFERS" title="associated constant wgpu_types::features::Features::MAPPABLE_PRIMARY_BUFFERS"><code>Features::MAPPABLE_PRIMARY_BUFFERS</code></a> feature isn’t enabled, the only other usage a buffer
1212
may have is COPY_SRC.</p>
1313
</div></details><details class="toggle" open><summary><section id="associatedconstant.COPY_SRC" class="associatedconstant"><a class="src rightside" href="../src/wgpu_types/lib.rs.html#4979-5027">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.COPY_SRC" class="constant">COPY_SRC</a>: Self = _</h4></section></summary><div class="docblock"><p>Allow a buffer to be the source buffer for a [<code>CommandEncoder::copy_buffer_to_buffer</code>] or [<code>CommandEncoder::copy_buffer_to_texture</code>]

0 commit comments

Comments
 (0)