Crate kaige

source ·

Modules

  • Queries provide efficient iteration and filtering of entity components in a world.
  • Serde (de)serialization of worlds.
  • A “packed archetype” storage model.
  • Automatic query scheduling and parallel execution.
  • Worlds store collections of entities. An entity is a collection of components, identified by a unique Entity ID.

Structs

  • An opaque identifier for an entity.
  • Provides efficient means to iterate and filter entities in a world.
  • Reads a single entity data component type from a chunk.
  • A world (de)serializer which describes how to (de)serialize the component types in a world.
  • Resources container. Shared resources stored here can be retrieved in systems.
  • A schedule of systems for execution.
  • A low level builder for constructing systems.
  • Reads a single entity data component type from a chunk.
  • Writes a single entity data component type from a chunk.
  • A container of entities.
  • Describes configuration options for the creation of a new World.
  • Writes a single mutable entity data component type from a chunk.

Traits

  • The EntityStore trait abstracts access to entity data as required by queries for both World and SubWorld
  • A type which holds onto a slice of entity data retrieved from a single archetype.
  • A type which defines a component group.
  • A type (typically a view) which can construct a query.
  • Describes a type which can convert itself into an SoA representation for entity insertion.

Functions

  • Constructs a filter which passes all entities.
  • Constructs a filter which requires that the entities have the given component.
  • Constructs a filter which requires that the component cannot be certain to have not changed.
  • Constructs a filter which performs a no-op and defers to any filters it is combined with.

Attribute Macros

  • Wraps a function in a system, and generates a new function which constructs that system.