private void AlphaHandlingGUI(TextureInspectorGUIElement guiElements)
{
int count = 0;
int num2 = 0;
bool flag = CountImportersWithAlpha(base.targets, out count) && CountImportersWithHDR(base.targets, out num2);
EditorGUI.showMixedValue = this.m_AlphaSource.hasMultipleDifferentValues;
EditorGUI.BeginChangeCheck();
int num3 = EditorGUILayout.IntPopup(s_Styles.alphaSource, this.m_AlphaSource.intValue, s_Styles.alphaSourceOptions, s_Styles.alphaSourceValues, new GUILayoutOption[0]);
EditorGUI.showMixedValue = false;
if (EditorGUI.EndChangeCheck())
{
this.m_AlphaSource.intValue = num3;
}
bool flag2 = (flag && (this.m_AlphaSource.intValue != 0)) && (num2 == 0);
using (new EditorGUI.DisabledScope(!flag2))
{
this.ToggleFromInt(this.m_AlphaIsTransparency, s_Styles.alphaIsTransparency);
}
}