mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 16:53:48 +00:00
wgpu-types documentation pass
This commit is contained in:
parent
fc2dd481b2
commit
15d0db8828
3
Cargo.lock
generated
3
Cargo.lock
generated
@ -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",
|
||||
|
@ -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,
|
||||
}
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user