const RawData: LiveComponent<RawDataProps<boolean>>
1D array of a WGSL type. Reads input data
or samples a given expr
of WGSL type format
.
number
Set/override input length
string
WGSL format per sample
number[] | TypedArray
Input data
Emitter
Input emitter expression
number
Emit N items per expr call. Output size is [items, N]
if items > 1.
boolean
Emit 0 or N items per expr call. Output size is [N]
or [items, N]
.
boolean
Resample data
on every animation frame.
boolean
Add current TimeContext
to the expr
arguments.
I
Split multiple emits into multiple source render?
true
extends
I
?
(
sources: ShaderSource[],
) => LiveElement
:
(
source: ShaderSource,
) => LiveElement
children?
true
extends
I
?
(
sources: ShaderSource[],
) => LiveElement
:
(
source: ShaderSource,
) => LiveElement
packages / workbench / src / data / raw-data.ts