Skip to main content

bevy_isomesh/
lib.rs

1// The README is this crate's front page — `docs/bevy_plugins.md` rule 1, the
2// header Bevy's own crates use. Its fences compile as doctests on every
3// `cargo test`, which is why the quickstart cannot rot; everything the old
4// crate-level docs said (the separate-workspace rationale, the version pins,
5// why every example lives here) moved into it.
6#![doc = include_str!("../README.md")]
7
8/// Writing an extracted mesh into a Bevy [`Mesh`](bevy_mesh::Mesh).
9pub mod mesh;
10/// The plugin: chunked, asynchronous meshing under a frame budget.
11pub mod plugin;
12
13pub use mesh::{MeshBuilder, SoupError, WeldKeyConfig, from_bevy_mesh, to_bevy_mesh, weld_keys};
14pub use plugin::{
15    ChunkMesh, ChunkSeams, Extractor, IsomeshPlugin, IsomeshSystems, MeshBudget, MeshStats,
16    NeedsRemesh, VolumeField, VoxelChunk, VoxelVolume, mark_changed_chunks, mark_changed_chunks_in,
17};