Interfaces
ShaderProps
Properties
children?
optional children?: ReactNode;One shader component per uniform shader the source declares, matched by
order. Sample them as name.eval(coord) or sample(name, coord).
ref?
optional ref?: NodeHandle;A handle from useNode(), for patching uniforms without a React render.
See NodeHandle.
source
source: string;The supported SkSL subset, with a half4/float4/vec4 main(vec2 pos) entry point.
uniforms?
optional uniforms?: Record<string, UniformValue>;