const StructData: LC<StructDataProps>
number
Set/override input length
"T" | "array<T>"
Struct WGSL type
ShaderModule
data?
(Record<string,
| number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]>)[]
( 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: StorageSource, ) => LiveElement
Leave empty to yeet source instead.
( source: StorageSource, ) => LiveElement
children?
| LiveElement<ArrowFunction>[]
| ReactElementInterop
| DeferredCall<any>
packages / workbench / src / data / struct-data.ts