UnityEditor.TextureInspector.DoFilterModePopup C# (CSharp) Method

DoFilterModePopup() protected method

protected DoFilterModePopup ( ) : void
return void
        protected void DoFilterModePopup()
        {
            EditorGUI.BeginChangeCheck();
            EditorGUI.showMixedValue = this.m_FilterMode.hasMultipleDifferentValues;
            FilterMode intValue = (FilterMode) this.m_FilterMode.intValue;
            intValue = (FilterMode) EditorGUILayout.EnumPopup(EditorGUIUtility.TempContent("Filter Mode"), intValue, new GUILayoutOption[0]);
            EditorGUI.showMixedValue = false;
            if (EditorGUI.EndChangeCheck())
            {
                this.m_FilterMode.intValue = (int) intValue;
            }
        }