Expand description
Archetype ECS - High-performance Entity Component System
Production-ready ECS with parallel scheduler and advanced features.
§Profiling
Archetype ECS has built-in support for the tracing ecosystem.
To enable profiling, add the profiling feature to your Cargo.toml:
[dependencies]
archetype_ecs = { version = "1.1", features = ["profiling"] }See examples/16_profiling_basics.rs for a complete setup guide.
Re-exports§
pub use app::*;pub use archetype::*;pub use command::*;pub use component::*;pub use dependency::*;pub use entity::*;pub use error::*;pub use event::*;pub use event_bus::*;pub use event_subscriber::*;pub use event_types::*;pub use executor::*;pub use hierarchy::*;pub use hierarchy_system::*;pub use observer::*;pub use parallel::*;pub use plugin::*;pub use query::*;pub use reflection::*;pub use schedule::*;pub use serialization::*;pub use system::*;pub use transform::*;pub use world::*;
Modules§
- app
- archetype
- Archetype storage with row allocation and removal
- bitset
- Simple BitSet implementation backed by a Vec
. Optimized for “no bloat” philosophy - minimal allocations, direct bitwise ops. - command
- Command buffer with struct variants
- component
- Component and Bundle traits
- debug
- dependency
- entity
- Entity identifiers and location metadata.
- error
- Error types
- event
- event_
bus - event_
subscriber - event_
types - executor
- Phase 4 Executor, Sync, and Debugging Combined to fit size constraints
- hierarchy
- hierarchy_
system - hot_
reload - observer
- parallel
- plugin
- prelude
- Convenient re-exports of commonly used types.
- profiling
- Profiling Guide
- query
- Query system with archetype filtering
- reflection
- schedule
- Schedule builder with dependency graph
- serialization
- World serialization and scene management.
- simd
- SIMD chunk iteration for numerical components
- system
- System trait and access metadata
- time
- Time management and fixed timestep support.
- transform
- world
- World: central entity and archetype storage
Macros§
- define_
event - Macro for defining events with automatic Event trait implementation
- impl_
reflect - Macro to implement Reflect for structs