const InterleavedData: LiveComponent<InterleavedDataProps>
Use a flat, packed array with interleaved fields T
without any struct alignment/padding.
VectorLike
Input data, array of flat values with packed array-of-structs layout
DataSchema
WGSL schema of input data
boolean
Resample data
on every animation frame.
( sources: Record<string, LambdaSource>, ) => LiveElement
Receive 1 source per field, in struct-of-array format. Leave empty to yeet sources instead.
( sources: Record<string, LambdaSource>, ) => LiveElement
packages / workbench / src / data / interleaved-data.ts