Backends: Add some links in the doc comments.

This commit is contained in:
Bruce Mitchener
2024-02-05 12:13:39 +07:00
committed by Teodor Tanasoaia
parent 39d94dd322
commit b7b7f7daed

View File

@@ -171,7 +171,10 @@ 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()
@@ -179,7 +182,7 @@ bitflags::bitflags! {
/// 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();
}
}