private void SetHDRScaleFactor(float value)
{
if (!this.m_HDR)
{
Debug.LogError("HDR scale is being set in LDR mode!");
}
if (value < 1f)
{
Debug.LogError("SetHDRScaleFactor is below 1, should be >= 1!");
}
this.m_HDRValues.m_HDRScaleFactor = Mathf.Clamp(value, 0f, this.m_HDRConfig.maxBrightness);
this.m_ColorSliderDirty = true;
this.m_ColorSpaceBoxDirty = true;
this.m_RGBHSVSlidersDirty = true;
}