Example #1
0
        public void Empty()
        {
            BackBufferWidth  = 0;
            BackBufferHeight = 0;
            BackBufferFormat = 0;
            BackBufferCount  = 0;

            MultiSampleType    = 0;
            MultiSampleQuality = 0;

            SwapEffect             = 0;
            hDeviceWindow          = IntPtr.Zero;
            Windowed               = false;
            EnableAutoDepthStencil = false;
            AutoDepthStencilFormat = 0;
            Flags = 0;

            /* FullScreen_RefreshRateInHz must be zero for Windowed mode */
            FullScreen_RefreshRateInHz = 0;
            PresentationInterval       = 0;
        }
Example #2
0
        public void Empty()
        {
            BackBufferWidth = 0;
            BackBufferHeight = 0;
            BackBufferFormat = 0;
            BackBufferCount = 0;

            MultiSampleType = 0;
            MultiSampleQuality = 0;

            SwapEffect = 0;
            hDeviceWindow = IntPtr.Zero;
            Windowed = false;
            EnableAutoDepthStencil = false;
            AutoDepthStencilFormat = 0;
            Flags = 0;

            /* FullScreen_RefreshRateInHz must be zero for Windowed mode */
            FullScreen_RefreshRateInHz = 0;
            PresentationInterval = 0;
        }