Axiom.Demos.Browser.Xna.Game._configure C# (CSharp) Метод

_configure() приватный Метод

private _configure ( ) : bool
Результат bool
        private bool _configure()
        {
            new XnaResourceGroupManager();

            // instantiate the Root singleton
            engine = new Root( "AxiomDemos.log" );

#if (XBOX || XBOX360)
//            ( new Axiom.RenderSystems.Xna.Plugin() ).Initialize();
#endif

            Root.Instance.RenderSystem = Root.Instance.RenderSystems[ "Xna" ];

            Root.Instance.RenderSystem.ConfigOptions[ "Use Content Pipeline" ].Value = "Yes";
            Root.Instance.RenderSystem.ConfigOptions[ "Video Mode" ].Value = "1280 x 720 @ 32-bit color";

            _setupResources();

            engine.FrameStarted += engine_FrameStarted;
			
            return true;
        }