Directories
¶
| Path | Synopsis |
|---|---|
|
Package entities tracks the live location of every entity in a World: a slot table keyed by entity ID, holding a generation counter (to detect stale handles) and a Record (which archetype and row currently store the entity).
|
Package entities tracks the live location of every entity in a World: a slot table keyed by entity ID, holding a generation counter (to detect stale handles) and a Record (which archetype and row currently store the entity). |
|
Command gen generates the arity-1..16 generic API family (ComponentsN, NewEntityN, NewViewN/ViewN) into zz_gen_generic-api.go at the module root, plus a round-trip smoke test per arity into zz_gen_generic-api_test.go.
|
Command gen generates the arity-1..16 generic API family (ComponentsN, NewEntityN, NewViewN/ViewN) into zz_gen_generic-api.go at the module root, plus a round-trip smoke test per arity into zz_gen_generic-api_test.go. |
|
Package registry maps component types to dense IDs and keeps, per component, the reflect.Type and a column factory captured at registration.
|
Package registry maps component types to dense IDs and keeps, per component, the reflect.Type and a column factory captured at registration. |
|
Package storage holds the archetype tables behind package ecs: typed component columns, archetypes (rows of entities that share one component set) and an append-only index of archetypes with cached add and remove edges.
|
Package storage holds the archetype tables behind package ecs: typed component columns, archetypes (rows of entities that share one component set) and an append-only index of archetypes with cached add and remove edges. |
Click to show internal directories.
Click to hide internal directories.