Skip to content

Commit

Permalink
Backends: Add some links in the doc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored and teoxoy committed Feb 5, 2024
1 parent 39d94dd commit b7b7f7d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions wgpu-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,15 +171,18 @@ bitflags::bitflags! {
const BROWSER_WEBGPU = 1 << Backend::BrowserWebGpu as u32;
/// All the apis that wgpu offers first tier of support for.
///
/// Vulkan + Metal + DX12 + Browser WebGPU
/// * [`Backends::VULKAN`]
/// * [`Backends::METAL`]
/// * [`Backends::DX12`]
/// * [`Backends::BROWSER_WEBGPU`]
const PRIMARY = Self::VULKAN.bits()
| Self::METAL.bits()
| Self::DX12.bits()
| Self::BROWSER_WEBGPU.bits();
/// All the apis that wgpu offers second tier of support for. These may
/// be unsupported/still experimental.
///
/// OpenGL
/// * [`Backends::GL`]
const SECONDARY = Self::GL.bits();
}
}
Expand Down

0 comments on commit b7b7f7d

Please sign in to comment.