Registry / other / piston2d-gfx-graphics

piston2d-gfx-graphics

JSON →
library0.82.0rscratesunverified

A Gfx 2D back-end for the Piston game engine.

# Cargo.toml [dependencies] piston2d-gfx_graphics = "0.82.0"
INSTALL
IMPORT
SIG · PISTON2D-GFX-GRAPH
P
piston2d-gfx-graphics
otherrustv0.82.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.

Gfx2d
use piston2d_gfx_graphics::Gfx2d;

Create a Gfx2d backend for rendering 2D graphics with Piston.

use piston2d_gfx_graphics::Gfx2d; // Requires a gfx device and factory // let mut g2d = Gfx2d::new(&mut device, factory);
Debug
Known issues
gotchaDepends on the gfx-rs ecosystem which is in maintenance mode.
fix
Consider using a more modern graphics backend like wgpu.
affects: >=0.1.0
Upgrade
Version history
0.82.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
piston2d-gfx-graphics — cargo add piston2d-gfx-graphics · libregistry