markUniformsLightsNeedsUpdate method

void markUniformsLightsNeedsUpdate(
  1. Map<String, dynamic> uniforms,
  2. dynamic value
)

Implementation

void markUniformsLightsNeedsUpdate(Map<String, dynamic> uniforms, dynamic value) {
  uniforms["ambientLightColor"]["needsUpdate"] = value;
  uniforms["lightProbe"]["needsUpdate"] = value;
  uniforms["directionalLights"]["needsUpdate"] = value;
  uniforms["directionalLightShadows"]["needsUpdate"] = value;
  uniforms["pointLights"]["needsUpdate"] = value;
  uniforms["pointLightShadows"]["needsUpdate"] = value;
  uniforms["spotLights"]["needsUpdate"] = value;
  uniforms["spotLightShadows"]["needsUpdate"] = value;
  uniforms["rectAreaLights"]["needsUpdate"] = value;
  uniforms["hemisphereLights"]["needsUpdate"] = value;
  uniforms["directionalShadowMap"]["needsUpdate"] = value;
  uniforms["directionalShadowMatrix"]["needsUpdate"] = value;
  uniforms["spotShadowMap"]["needsUpdate"] = value;
  uniforms["spotShadowMatrix"]["needsUpdate"] = value;
  uniforms["pointShadowMap"]["needsUpdate"] = value;
  uniforms["pointShadowMatrix"]["needsUpdate"] = value;
}