Files
materialcraft/crates/render/src/lib.rs
T
2026-11-03 01:30:15 +01:00

13 lines
585 B
Rust

//! # materialcraft-render
//!
//! The 3D view, L3: a CPU path from the material's maps to a shaded image of a built-in scene
//! (rounded cube, sphere, plane, …) under a procedural HDR environment. It needs no GPU, so the
//! desktop app, the CLI, the MCP server and the browser render the same pixels.
#![forbid(unsafe_code)]
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
pub mod ibl;
pub mod preview;
pub use preview::{Lighting, Maps, Scene, Settings, builtin_mesh, pan, render, render_cancellable};