const DataShader: LiveComponent<DataShaderProps>
Sample shader for sampling of a linear input buffer.
Provides:
Unnamed arguments are linked in the order of: args, sources, source | data.
TensorArray
StorageSource | LambdaSource
ShaderModule
ShaderSource[]
args?
(Lazy< | boolean | number | Int8Array | Uint8Array | Int16Array | Uint16Array | Int32Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | number[]>)[]
( source: LambdaSource, ) => LiveElement
( source: LambdaSource, ) => LiveElement
packages / workbench / src / shader / data-shader.ts