shader(id: string, uniform?: Uniform | ()=>Uniform): ShaderComp

Custom shader.

paramid- The shader id.

paramuniform- The uniform to pass to the shader.

returnsThe shader comp.

sincev2000.0