Shader clone()

Returns a hard copy (clone) of the current shader.

Source

Shader clone() =>
    new PhongShader(new Vector4.copy(difCoeff),
                    new Vector4.copy(specCoeff),
                    specExp, ambCoeff);