viewport-lib 0.17.0

3D viewport rendering library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Scene graph with parent-child hierarchy and layers.
pub mod scene;
pub use scene::{
    DecalHandle, Group, GroupId, Layer, LayerId, LiveDecal, Scene, SceneNode, SceneStats,
};
/// Axis-aligned bounding box.
pub mod aabb;
/// Built-in light glyph + influence-volume wireframe emission for scene-graph lights.
pub mod light_glyphs;
/// Per-object material parameters (colour, shading, textures).
pub mod material;
/// Participating-media volume primitive (fog, smoke, clouds).
pub mod scatter_volume;
pub use light_glyphs::build_light_glyphs;
/// Loose octree spatial index for frustum culling acceleration.
pub(crate) mod spatial_index;
/// Core `ViewportObject` trait and render mode types.
pub mod traits;