internal/

directory
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: MIT

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL