wgpu-types documentation pass

This commit is contained in:
Connor Fitzgerald committed 2020-06-17 20:38:44 -04:00
1 parent fc2dd481b2
commit 15d0db8828
3 files changed
+463 -27

No files matched your search

Generated
+1 -2
View File
@@ -484,8 +484,7 @@ dependencies = [
[[package]]
name = "gfx-memory"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c2eed6cda674d9cd4d92229102dbd544292124533d236904f987e9afab456137"
source = "git+https://github.com/gfx-rs/gfx-extras?rev=438353c3f75368c12024ad2fc03cbeb15f351fd9#438353c3f75368c12024ad2fc03cbeb15f351fd9"
dependencies = [
"fxhash",
"gfx-hal",
+6 -6
View File
@@ -219,20 +219,20 @@ impl AdapterInfo {
}
}
/// Supported physical device types
/// Supported physical device types.
#[derive(Clone, Debug, PartialEq)]
#[cfg_attr(feature = "trace", derive(Serialize))]
#[cfg_attr(feature = "replay", derive(Deserialize))]
pub enum DeviceType {
/// Other
/// Other.
Other,
/// Integrated
/// Integrated GPU with shared CPU/GPU memory.
IntegratedGpu,
/// Discrete
/// Discrete GPU with separate CPU/GPU memory.
DiscreteGpu,
/// Virtual / Hosted
/// Virtual / Hosted.
VirtualGpu,
/// Cpu / Software Rendering
/// Cpu / Software Rendering.
Cpu,
}
+456 -19
View File
File diff suppressed because it is too large. Load diff