voxolith

PackedEntity

An entity as one header plus one byte buffer holding its arrays, from packEntity: how the model cache stores entities and how serveGenerators posts them (one buffer to transfer).

Defined in: engine/src/worker/cache.ts:49

Properties

PropertyTypeDescriptionDefined in
bytesUint8Array<ArrayBuffer>The arrays, back to back (each 4-byte aligned).engine/src/worker/cache.ts:53
headRecord<string, unknown>The entity without its arrays, plus where each array lies in bytes. Plain data.engine/src/worker/cache.ts:51

On this page