OptionalcanThis function is used to check if the shader can be reused based on quad info
fragment shader source for WebGl or WebGl2
Optionalononly used for SDF shader, will be removed in the future.
OptionalsupportsOptionalupdate?: ((this: WebGlShaderNode<T>, node: CoreNode) => void)This function is called when one of the props is changed, here you can update the uniforms you use in the fragment / vertex shader.
WebGlContextWrapper with utilities to update uniforms, and other actions.
Optionalvertex?: ShaderSource<T>vertex shader source for WebGl or WebGl2
Optionalwebgl1extensions required for specific shader?
Optionalwebgl2
This is the WebGL specific ShaderType