Expand description
Semantic identity, relation graphs, immutable snapshots, and cached queries for Bevy.
The crate centers on SemanticRegistry for mutation and SemanticSnapshot for
cloned concurrent reads. Bevy integration is built in through Semantics,
which forwards the common read helpers, plus SemanticPlaybackQueue and
SemanticsPlugin, along with the command extension traits re-exported in prelude.
Re-exports§
pub use direction::EdgeDirection;pub use error::SemanticError;pub use kind::Kind;pub use query::CompiledEdgeQuery;pub use query::CompiledTraversalQuery;pub use query::EdgeQuery;pub use query::EdgeQueryBuilder;pub use query::SemanticCommand;pub use query::SemanticEdge;pub use query::TraversalQuery;pub use query::TraversalQueryBuilder;pub use registry::Core;pub use registry::SemanticRegistry;pub use registry::SemanticRegistryBatch;pub use snapshot::SemanticSnapshot;pub use weight::Weight;pub use plugin::SemanticEdit;pub use plugin::SemanticPlaybackQueue;pub use plugin::Semantics;pub use plugin::SemanticsPlugin;
Modules§
- direction
- Edge traversal direction controls.
- error
- Error types returned by
bevy_semanticspublic APIs. - kind
- Public semantic identity type.
- plugin
- Bevy resources, plugin wiring, and queued semantic commands.
- prelude
- query
- Semantic query model, builders, and compiled query plans.
- registry
- Mutable semantic registry and bulk authoring support.
- snapshot
- Immutable read-only semantic snapshots and query execution helpers.
- weight
- Public scalar edge weight type.