Expand description
A collection of structures and functions useful across the entire amethyst project.
Re-exports§
pub use crate::bundle::SystemBundle;pub use alga;pub use approx;pub use nalgebra as math;pub use num_traits as num;pub use specs as ecs;pub use specs::shred;pub use specs::shrev;pub use crate::timing::*;pub use crate::transform::*;
Modules§
- bundle
- Provides a trait for adding bundles of systems to a dispatcher.
- deferred_
dispatcher_ operation - Provides the ability to store
Systems,Bundles,Barriers, in a normal vector for deferred dispatcher construction. - frame_
limiter - Frame rate limiting.
- geometry
- Geometry helper functionality.
- timing
- Utilities for working with time.
- transform
amethysttransform ecs module
Structs§
- Hidden
- Hidden mesh component Useful for entities, that should not be rendered, but stay loaded in memory.
- Hidden
Propagate - Like Hidden, but can propagate through children when the HideHierarchySystem is enabled in the RenderBundle.
- Hide
Hierarchy System - This system adds a HiddenPropagate-component to all children.
- Hide
Hierarchy System Desc - Builds a
HideHierarchySystem. - Named
- A component that gives a name to an
Entity. - Pausable
- A system that is enabled when
Vhas a specific value.
Enums§
Traits§
- Event
Reader - Read events generically
- RunNow
Desc - Initializes a
RunNowwith some interaction with theWorld. - System
Desc - Initializes a
Systemwith some interaction with theWorld. - System
Ext - Extension functionality associated systems.
- With
Named - An easy way to name an
Entityand give it aNamedComponent.
Type Aliases§
- ArcThread
Pool - A rayon thread pool wrapped in an
Arc. This should be used as resource inWorld.