type GPUAggregate = {
aggregateBuffers:
Record<string, ArrayAggregate | ArrayAggregateBuffer>,
refBuffers: Record<string, any[]>,
bySelfs?: {
keys: ([string, string])[],
sources: Record<string, StorageSource<any>>,
},
byInstances?: StructAggregateBuffer,
byVertices?: StructAggregateBuffer,
byIndices?: StructAggregateBuffer,
byRefs?: StructAggregateBuffer,
}
packages / core / src / types.ts