Registry / other / wgpu-core

wgpu-core

JSON →
library29.0.3rscratesunverified

Core implementation logic of wgpu, the cross-platform, safe, pure-Rust graphics API.

# Cargo.toml [dependencies] wgpu-core = "29.0.3"
INSTALL
IMPORT
SIG · WGPU-CORE
W
wgpu-core
otherrustv29.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Instance
use wgpu_core::instance::Instance;

Create a wgpu instance with primary backends.

use wgpu_core::instance::Instance; fn main() -> Result<(), Box<dyn std::error::Error>> { let instance = Instance::new(wgpu_types::Backends::PRIMARY); println!("WGPU instance created"); Ok(()) }
Debug
Known issues
gotchaRequires a GPU with Vulkan/Metal/DX12 support; may panic if no suitable backend
fix
Ensure a compatible GPU driver is installed or use software rendering
affects: >=0.0.0
Upgrade
Version history
29.0.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
wgpu-core — cargo add wgpu-core · libregistry