UnityEditor.ComputeShaderInspector.ShowDebuggingData C# (CSharp) Method

ShowDebuggingData() private method

private ShowDebuggingData ( ComputeShader cs ) : void
cs UnityEngine.ComputeShader
return void
        private void ShowDebuggingData(ComputeShader cs)
        {
            GUILayout.Space(5f);
            GUILayout.Label("Compiled code:", EditorStyles.boldLabel, new GUILayoutOption[0]);
            EditorGUILayout.BeginHorizontal(new GUILayoutOption[0]);
            EditorGUILayout.PrefixLabel("All variants", EditorStyles.miniButton);
            GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.ExpandWidth(false) };
            if (GUILayout.Button(Styles.showAll, EditorStyles.miniButton, options))
            {
                ShaderUtil.OpenCompiledComputeShader(cs, true);
                GUIUtility.ExitGUI();
            }
            EditorGUILayout.EndHorizontal();
        }