Example #1
0
        public ProfilerConfig()
        {
            // Defaults
            Top    = 300;
            Left   = 40;
            Width  = 700;
            Height = 340;

            HiddenStreams = new List <string>();

            TimeRulerConfig = new TimeRulerUIViewConfig {
                Visible            = true,
                VisibleLevelsFlags = 1
            };
            TimeRulerConfig.Position = TimeRulerConfig.DefaultPosition;
            TimeRulerConfig.Size     = TimeRulerConfig.DefaultSize;

            PerformanceGraphConfig = new PerformanceGraphUIViewConfig {
                Visible            = true,
                SkipFrames         = 0,
                VisibleLevelsFlags = 1 | 2 | 4
            };
            PerformanceGraphConfig.Position = PerformanceGraphConfig.DefaultPosition;
            PerformanceGraphConfig.Size     = PerformanceGraphConfig.DefaultSize;

            ProfilerSummaryConfig = new ProfilerSummaryUIViewConfig {
                Visible            = true,
                VisibleLevelsFlags = 1 | 2 | 4
            };
            ProfilerSummaryConfig.Position = ProfilerSummaryConfig.DefaultPosition;
            ProfilerSummaryConfig.Size     = ProfilerSummaryConfig.DefaultSize;
        }
Example #2
0
        public ProfilerConfig()
        {
            // Defaults
            Top = 300;
            Left = 40;
            Width = 700;
            Height = 340;

            HiddenStreams = new List<string>();

            TimeRulerConfig = new TimeRulerUIViewConfig {
                Position = new Vector2(3, 3),
                Size = new Vector2(400, 16),
                Visible = true,
                VisibleLevelsFlags = 1
            };

            PerformanceGraphConfig = new PerformanceGraphUIViewConfig {
                Position = new Vector2(3, 20),
                Size = new Vector2(100, 60),
                Visible = true,
                SkipFrames = 0,
                VisibleLevelsFlags = 1 | 2 | 4
            };

            ProfilerSummaryConfig = new ProfilerSummaryUIViewConfig {
                Position = new Vector2(3, 150),
                Size = new Vector2(100, 60),
                Visible = true,
                VisibleLevelsFlags = 1 | 2 | 4
            };
        }