Skip to content

Commit 3e565c9

Browse files
committed
Deploying to master from @ 4a7fc68df04c17187f17c45afdc9e0a0e8731aa3 🚀
1 parent d1b91a6 commit 3e565c9

File tree

7 files changed

+34
-22
lines changed

7 files changed

+34
-22
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3667,6 +3667,10 @@
36673667
<span id="3665">3665</span>
36683668
<span id="3666">3666</span>
36693669
<span id="3667">3667</span>
3670+
<span id="3668">3668</span>
3671+
<span id="3669">3669</span>
3672+
<span id="3670">3670</span>
3673+
<span id="3671">3671</span>
36703674
</pre><pre class="rust"><code><span class="doccomment">//! A cross-platform graphics and compute library based on [WebGPU](https://gpuweb.github.io/gpuweb/).
36713675
//!
36723676
//! To start using the API, create an [`Instance`].
@@ -7131,9 +7135,13 @@
71317135
Context::queue_write_buffer(<span class="kw-2">&amp;*</span><span class="self">self</span>.context, <span class="kw-2">&amp;</span><span class="self">self</span>.id, <span class="kw-2">&amp;</span>buffer.id, offset, data)
71327136
}
71337137

7134-
<span class="doccomment">/// Schedule a data write into `buffer` starting at `offset` via the returned [QueueWriteBufferView].
7138+
<span class="doccomment">/// Schedule a data write into `buffer` starting at `offset` via the returned
7139+
/// [QueueWriteBufferView].
71357140
///
7136-
/// The returned value can be dereferenced to a `&amp;mut [u8]`; dereferencing it to a `&amp;[u8]` panics!
7141+
/// The returned value can be dereferenced to a `&amp;mut [u8]`; dereferencing it to a
7142+
/// `&amp;[u8]` panics!
7143+
/// (It is not unsound to read through the `&amp;mut [u8]` anyway, but doing so will not
7144+
/// yield the existing contents of `buffer` from the GPU, and it is likely to be slow.)
71377145
///
71387146
/// This method is intended to have low performance costs.
71397147
/// As such, the write is not immediately submitted, and instead enqueued

‎doc/wgpu/enum.Error.html

Lines changed: 4 additions & 4 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.13.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"><span class="in-band">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></span></h1><span class="out-of-band"><a class="srclink" href="../src/wgpu/lib.rs.html#1-3667">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"><span class="in-band">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></span></h1><span class="out-of-band"><a class="srclink" href="../src/wgpu/lib.rs.html#1-3671">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"><p>Utility structures and functions.</p>
66
</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"><p>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>.</p>

0 commit comments

Comments
 (0)