private void UpdateReferenceVariables() { UpdateDevice(); UpdateTask(); UpdateImage(); UpdateLightTarget(); UpdateLightIntensity(); }