Registry / other / luminance

luminance

JSON →
library0.47.0rscratesunverified

Stateless and type-safe graphics framework.

# Cargo.toml [dependencies] luminance = "0.47.0"
INSTALL
IMPORT
SIG · LUMINANCE
L
luminance
otherrustv0.47.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.

GraphicsContext
use luminance::context::GraphicsContext;

Shows importing the main GraphicsContext trait from luminance.

use luminance::context::GraphicsContext; fn main() { // Requires a backend like luminance-gl or luminance-wgpu println!("Luminance provides a stateless graphics context"); }
Debug
Known issues
gotchaRequires a backend crate (e.g., luminance-gl, luminance-wgpu) to actually render.
fix
Add a backend dependency and initialize it before using GraphicsContext.
affects: >=0.47.0
Upgrade
Version history
0.47.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
luminance — cargo add luminance · libregistry