Registry / other / draw-state

draw-state

JSON →
library0.8.0rscratesunverified

Graphics state blocks for gfx-rs.

# Cargo.toml [dependencies] draw_state = "0.8.0"
INSTALL
IMPORT
SIG · DRAW-STATE
D
draw-state
otherrustv0.8.0
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.

DrawState
use draw_state::DrawState;

Configure graphics pipeline state.

use draw_state::DrawState; let state = DrawState::new() .depth_test(true) .blend(true); println!("{:?}", state);
Debug
Known issues
breakingDeprecated in favor of gfx-hal or wgpu; no longer actively maintained.
fix
Migrate to modern graphics abstractions like wgpu.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
draw-state — cargo add draw-state · libregistry