const StructData: LC<StructDataProps>
number
Set/override input length
ShaderModule<any>
Struct WGSL type
number[] | TypedArray
Input data
( emit: Emit, ...args: any[], ) => void
Input emitter expression
boolean
Emit 0 or 1 item per expr
call.
boolean
Add current TimeContext
to the expr
arguments.
boolean
Resample data
or expr
on every animation frame.
( ...source: ShaderSource[], ) => LiveElement<ArrowFunction>
Leave empty to yeet source instead.
packages / workbench / src / data / struct-data.ts