Cargo Features
blinc_gpu has no features set by default.
[dependencies]
blinc_gpu = { version = "0.5.1", features = ["vulkan", "metal", "dx12", "webgl", "webgpu", "desktop", "android", "ios", "fuchsia", "harmony", "web"] }
- default
-
No default backends - must be explicitly selected per platform
- vulkan android? desktop? fuchsia? harmony?
-
Enables vulkan-portability of wgpu =26.0.1
GPU
- metal desktop? ios?
-
Enables metal of wgpu =26.0.1
- dx12 desktop?
-
Enables dx12 of wgpu =26.0.1
- webgl web?
-
Enables webgl of wgpu =26.0.1
- webgpu web?
-
Enables webgpu of wgpu =26.0.1
- desktop = dx12, metal, vulkan, winit
-
Platform-specific presets
All desktop backends + windowing - android = vulkan
-
Android only uses Vulkan (native windowing)
- ios = metal
-
iOS only uses Metal (native windowing)
- fuchsia = vulkan
-
Fuchsia uses Vulkan via Scenic (native windowing)
- harmony = vulkan
-
HarmonyOS prefers Vulkan (native windowing)
- web = webgl, webgpu
-
Browser: WebGPU primary, WebGL2 fallback
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.