refreshUniformsToon method

dynamic refreshUniformsToon(
  1. dynamic uniforms,
  2. dynamic material
)

Implementation

refreshUniformsToon(uniforms, material) {
  if (material.gradientMap != null) {
    uniforms["gradientMap"]["value"] = material.gradientMap;
  }
}