const formatToArchetype: ( formats: Record<string, UniformType>, flags?: Record<string, any>, ) => number
Calculate archetype ID for a struct of attribute formats + flags
packages / core / src / archetype.ts