private void RGBSliders()
{
EditorGUI.BeginChangeCheck();
float tonemappingExposureAdjusment = this.GetTonemappingExposureAdjusment();
float colorScale = this.GetColorScale();
this.m_RTexture = Update1DSlider(this.m_RTexture, 0x20, this.m_G, this.m_B, ref this.m_RTextureG, ref this.m_RTextureB, 0, false, colorScale, tonemappingExposureAdjusment, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
this.m_GTexture = Update1DSlider(this.m_GTexture, 0x20, this.m_R, this.m_B, ref this.m_GTextureR, ref this.m_GTextureB, 1, false, colorScale, tonemappingExposureAdjusment, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
this.m_BTexture = Update1DSlider(this.m_BTexture, 0x20, this.m_R, this.m_G, ref this.m_BTextureR, ref this.m_BTextureG, 2, false, colorScale, tonemappingExposureAdjusment, this.m_RGBHSVSlidersDirty, this.m_HDRValues.m_TonemappingType);
this.m_RGBHSVSlidersDirty = false;
float displayScale = !this.m_HDR ? 255f : colorScale;
string formatString = !this.m_HDR ? EditorGUI.kIntFieldFormatString : EditorGUI.kFloatFieldFormatString;
this.m_R = this.TexturedSlider(this.m_RTexture, "R", this.m_R, 0f, 1f, displayScale, formatString, new Action<float>(this.OnFloatFieldChanged));
this.m_G = this.TexturedSlider(this.m_GTexture, "G", this.m_G, 0f, 1f, displayScale, formatString, new Action<float>(this.OnFloatFieldChanged));
this.m_B = this.TexturedSlider(this.m_BTexture, "B", this.m_B, 0f, 1f, displayScale, formatString, new Action<float>(this.OnFloatFieldChanged));
if (EditorGUI.EndChangeCheck())
{
this.RGBToHSV();
}
}