Ejemplo n.º 1
0
        private void Read()
        {
            fullScreenWidth   = Kernel.Registry.Manager.Instance.GetValue("Graphics.Width", fullScreenWidth);
            fullScreenHeight  = Kernel.Registry.Manager.Instance.GetValue("Graphics.Height", fullScreenHeight);
            fullScreenRefresh = Kernel.Registry.Manager.Instance.GetValue("Graphics.RefreshRate", fullScreenRefresh);

            windowed          = Kernel.Registry.Manager.Instance.GetValue("Graphics.Windowed", windowed);
            backBufferFormat  = Kernel.Registry.Manager.Instance.GetValue("Graphics.BackBufferFormat", backBufferFormat);
            depthBufferFormat = Kernel.Registry.Manager.Instance.GetValue("Graphics.DepthBufferFormat", depthBufferFormat);

            adapterIndex     = Kernel.Registry.Manager.Instance.GetValue("Graphics.Adapter", adapterIndex);
            deviceType       = Kernel.Registry.Manager.Instance.GetValue("Graphics.DeviceType", deviceType);
            multiSampleLevel = Kernel.Registry.Manager.Instance.GetValue("Graphics.Multisample", multiSampleLevel);
            backBufferCount  = Kernel.Registry.Manager.Instance.GetValue("Graphics.BackBufferCount", backBufferCount);
        }
Ejemplo n.º 2
0
        private void Read()
        {
            fullScreenWidth     = Kernel.Registry.Manager.Instance.GetValue("Graphics.Width",fullScreenWidth );
            fullScreenHeight    = Kernel.Registry.Manager.Instance.GetValue("Graphics.Height",fullScreenHeight);
            fullScreenRefresh   = Kernel.Registry.Manager.Instance.GetValue("Graphics.RefreshRate",fullScreenRefresh);

            windowed            = Kernel.Registry.Manager.Instance.GetValue("Graphics.Windowed",windowed );
            backBufferFormat    = Kernel.Registry.Manager.Instance.GetValue("Graphics.BackBufferFormat",backBufferFormat );
            depthBufferFormat   = Kernel.Registry.Manager.Instance.GetValue("Graphics.DepthBufferFormat",depthBufferFormat );

            adapterIndex        = Kernel.Registry.Manager.Instance.GetValue("Graphics.Adapter",adapterIndex );
            deviceType          = Kernel.Registry.Manager.Instance.GetValue("Graphics.DeviceType",deviceType );
            multiSampleLevel    = Kernel.Registry.Manager.Instance.GetValue("Graphics.Multisample",multiSampleLevel );
            backBufferCount     = Kernel.Registry.Manager.Instance.GetValue("Graphics.BackBufferCount",backBufferCount );
        }