コード例 #1
0
        static MyGuiScreenDebugDeveloper()
        {
            if (!MyFakes.SIMPLE_DEBUG_SCREEN)
            {
                s_debugRenderScreen         = new MyGuiScreenDebugRender();
                s_debugRenderLightsScreen   = new MyGuiScreenDebugRenderLights();
                s_debugRenderOptsScreen     = new MyGuiScreenDebugRenderOptimizations();
                s_debugRenderPruningScreen  = new MyGuiScreenDebugRenderPruning();
                s_debugRenderModelFXScreen  = new MyGuiScreenDebugRenderModelFX();
                s_debugRenderGlobalFXScreen = new MyGuiScreenDebugRenderGlobalFX();
                s_debugRenderSectorFXScreen = new MyGuiScreenDebugRenderSectorFX();
                s_debugRenderHDRScreen      = new MyGuiScreenDebugRenderHDR();
                s_debugColorsScreen         = new MyGuiScreenDebugColors();
                s_debugVolumetricSSAOScreen = new MyGuiScreenDebugVolumetricSSAO();
                //static MyGuiScreenRenderModules s_renderModulesScreen = new MyGuiScreenRenderModules();
                s_renderModulePrepareForDraw   = new MyGuiScreenRenderModule(MyRenderStage.PrepareForDraw, "Prepare for draw");
                s_renderModuleBackground       = new MyGuiScreenRenderModule(MyRenderStage.Background, "Background");
                s_renderModuleAlphaBlendPreHDR = new MyGuiScreenRenderModule(MyRenderStage.AlphaBlendPreHDR, "Pre-HDR Aplha blend");
                s_renderModuleDebugDraw        = new MyGuiScreenRenderModule(MyRenderStage.DebugDraw, "Debug draw");

                //Game
                s_debugShipScreen                   = new MyGuiScreenDebugShip();
                s_debugGameScreen                   = new MyGuiScreenDebugGame();
                s_debugDebrisScreen                 = new MyGuiScreenDebugDebris();
                s_debugSystemScreen                 = new MyGuiScreenDebugSystem();
                s_debugPlayerShakeScreen            = new MyGuiScreenDebugPlayerShake();
                s_debugPlayerCameraSpringScreen     = new MyGuiScreenDebugPlayerCameraSpring();
                s_debugSmallShipWeaponsOffsetScreen = new MyGuiScreenDebugSmallShipWeaponsOffset();
                s_debugFillSectorScreen             = new MyGuiScreenDebugFillSector();
                s_debugBotScreen        = new MyGuiScreenDebugBot();
                s_debugGameGlobalEvents = new MyGuiScreenDebugGlobalEvents();
            }
        }
コード例 #2
0
        static MyGuiScreenDebugDeveloper()
        {
            if (!MyFakes.SIMPLE_DEBUG_SCREEN)
            {
                s_debugRenderScreen = new MyGuiScreenDebugRender();
                s_debugRenderLightsScreen = new MyGuiScreenDebugRenderLights();
                s_debugRenderOptsScreen = new MyGuiScreenDebugRenderOptimizations();
                s_debugRenderPruningScreen = new MyGuiScreenDebugRenderPruning();
                s_debugRenderModelFXScreen = new MyGuiScreenDebugRenderModelFX();
                s_debugRenderGlobalFXScreen = new MyGuiScreenDebugRenderGlobalFX();
                s_debugRenderSectorFXScreen = new MyGuiScreenDebugRenderSectorFX();
                s_debugRenderHDRScreen = new MyGuiScreenDebugRenderHDR();
                s_debugColorsScreen = new MyGuiScreenDebugColors();
                s_debugVolumetricSSAOScreen = new MyGuiScreenDebugVolumetricSSAO();
                //static MyGuiScreenRenderModules s_renderModulesScreen = new MyGuiScreenRenderModules();
                s_renderModulePrepareForDraw = new MyGuiScreenRenderModule(MyRenderStage.PrepareForDraw, "Prepare for draw");
                s_renderModuleBackground = new MyGuiScreenRenderModule(MyRenderStage.Background, "Background");
                s_renderModuleAlphaBlendPreHDR = new MyGuiScreenRenderModule(MyRenderStage.AlphaBlendPreHDR, "Pre-HDR Aplha blend");
                s_renderModuleDebugDraw = new MyGuiScreenRenderModule(MyRenderStage.DebugDraw, "Debug draw");

                //Game
                s_debugShipScreen = new MyGuiScreenDebugShip();
                s_debugGameScreen = new MyGuiScreenDebugGame();
                s_debugDebrisScreen = new MyGuiScreenDebugDebris();
                s_debugSystemScreen = new MyGuiScreenDebugSystem();
                s_debugPlayerShakeScreen = new MyGuiScreenDebugPlayerShake();
                s_debugPlayerCameraSpringScreen = new MyGuiScreenDebugPlayerCameraSpring();
                s_debugSmallShipWeaponsOffsetScreen = new MyGuiScreenDebugSmallShipWeaponsOffset();
                s_debugFillSectorScreen = new MyGuiScreenDebugFillSector();
                s_debugBotScreen = new MyGuiScreenDebugBot();
                s_debugGameGlobalEvents = new MyGuiScreenDebugGlobalEvents();
            }
        }