clone method

  1. @override
RawShaderMaterial clone()
override

Return a new material with the same parameters as this material.

Implementation

@override
RawShaderMaterial clone() {
  return RawShaderMaterial().copy(this);
}