Registry / other / wgpu-types

wgpu-types

JSON →
library29.0.3rscratesunverified

Common types and utilities for wgpu, the cross-platform, safe, pure-rust graphics API.

# Cargo.toml [dependencies] wgpu-types = "29.0.3"
INSTALL
IMPORT
SIG · WGPU-TYPES
W
wgpu-types
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.

TextureFormat
use wgpu_types::TextureFormat;

Demonstrates importing and using a common wgpu type.

use wgpu_types::TextureFormat; fn main() { let format = TextureFormat::Rgba8Unorm; println!("Texture format: {:?}", format); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
29.0.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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