亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dxmutenum.cs

?? VC中使用C#作為腳本引擎編程
?? CS
?? 第 1 頁 / 共 3 頁
字號:
                        BuildConflictList(deviceCombo);
                        BuildPresentIntervalList(deviceInfo, deviceCombo);

                        deviceCombo.adapterInformation = adapterInfo;
                        deviceCombo.deviceInformation = deviceInfo;

                        // Add the combo to the list of devices
                        deviceInfo.deviceSettingsList.Add(deviceCombo);
                    }
                }
            }
        }

        /// <summary>
        /// Adds all depth/stencil formats that are compatible with the device 
        /// and application to the given device combo
        /// </summary>
        private static void BuildDepthStencilFormatList(EnumDeviceSettingsCombo deviceCombo)
        {
            foreach(DepthFormat depthStencil in depthStencilPossibleList)
            {
                if (Manager.CheckDeviceFormat((int)deviceCombo.AdapterOrdinal,
                    deviceCombo.DeviceType, deviceCombo.AdapterFormat,
                    Usage.DepthStencil, ResourceType.Surface, depthStencil))
                {
                    // This can be used as a depth stencil, make sure it matches
                    if (Manager.CheckDepthStencilMatch((int)deviceCombo.AdapterOrdinal,
                        deviceCombo.DeviceType, deviceCombo.AdapterFormat,
                        deviceCombo.BackBufferFormat, depthStencil))
                    {
                        // Yup, add it
                        deviceCombo.depthStencilFormatList.Add(depthStencil);
                    }
                }
            }
        }

        /// <summary>
        /// Adds all multisample types that are compatible with the device and app to
        /// the given device combo
        /// </summary>
        private static void BuildMultiSampleTypeList(EnumDeviceSettingsCombo deviceCombo)
        {
            foreach(MultiSampleType msType in multiSampleTypeList)
            {
                int result, quality;
                // Check this
                if (Manager.CheckDeviceMultiSampleType((int)deviceCombo.AdapterOrdinal,
                    deviceCombo.DeviceType, deviceCombo.BackBufferFormat,
                    deviceCombo.IsWindowed, msType, out result, out quality))
                {
                    deviceCombo.multiSampleTypeList.Add(msType);
                    if (quality > multisampleQualityMax + 1)
                        quality = (int)(multisampleQualityMax + 1);

                    deviceCombo.multiSampleQualityList.Add(quality);
                }
            }
        }


        /// <summary>
        /// Find any conflicts between the available depth/stencil formats and
        /// multisample types.
        /// </summary>
        private static void BuildConflictList(EnumDeviceSettingsCombo deviceCombo)
        {
            foreach(DepthFormat depthFormat in deviceCombo.depthStencilFormatList)
            {
                foreach(MultiSampleType msType in deviceCombo.multiSampleTypeList)
                {
                    // Check this for conflict
                    if (!Manager.CheckDeviceMultiSampleType((int)deviceCombo.AdapterOrdinal,
                        deviceCombo.DeviceType, (Format)depthFormat,
                        deviceCombo.IsWindowed, msType))
                    {
                        // Add it to the list
                        EnumDepthStencilMultisampleConflict conflict = new EnumDepthStencilMultisampleConflict();
                        conflict.DepthStencilFormat = depthFormat;
                        conflict.MultisampleType = msType;
                        deviceCombo.depthStencilConflictList.Add(conflict);
                    }
                }
            }
        }


        /// <summary>
        /// Adds all present intervals that are compatible with the device and app 
        /// to the given device combo
        /// </summary>
        private static void BuildPresentIntervalList(EnumDeviceInformation deviceInfo, EnumDeviceSettingsCombo deviceCombo)
        {
            for (int i = 0; i < presentIntervalList.Count; i++)
            {
                PresentInterval pi = (PresentInterval)presentIntervalList[i];
                if (deviceCombo.IsWindowed)
                {
                    if ( (pi == PresentInterval.Two) ||
                        (pi == PresentInterval.Three) ||
                        (pi == PresentInterval.Four) )
                    {
                        // These intervals are never supported in windowed mode
                        continue;
                    }
                }

                // Not that PresentInterval.Default is zero so you can't do a bitwise
                // check for it, it's always available
                if ( (pi == PresentInterval.Default) ||
                    ((deviceInfo.Caps.PresentationIntervals & pi) != 0))
                {
                    deviceCombo.presentIntervalList.Add(pi);
                }
            }
        }

        /// <summary>
        /// Resets the list of possible depth stencil formats
        /// </summary>
        public static void ResetPossibleDepthStencilFormats()
        {
            depthStencilPossibleList.Clear();
            depthStencilPossibleList.AddRange(new DepthFormat[] {
                                                             DepthFormat.D16,
                                                             DepthFormat.D15S1,
                                                             DepthFormat.D24X8,
                                                             DepthFormat.D24S8,
                                                             DepthFormat.D24X4S4,
                                                             DepthFormat.D32 });
        }

        /// <summary>
        /// Resets the possible multisample type list
        /// </summary>
        public static void ResetPossibleMultisampleTypeList()
        {
            multiSampleTypeList.Clear();
            multiSampleTypeList.AddRange(new MultiSampleType[] {
                                                            MultiSampleType.None,
                                                            MultiSampleType.NonMaskable,
                                                            MultiSampleType.TwoSamples,
                                                            MultiSampleType.ThreeSamples,
                                                            MultiSampleType.FourSamples,
                                                            MultiSampleType.FiveSamples,
                                                            MultiSampleType.SixSamples,
                                                            MultiSampleType.SevenSamples,
                                                            MultiSampleType.EightSamples,
                                                            MultiSampleType.NineSamples,
                                                            MultiSampleType.TenSamples,
                                                            MultiSampleType.ElevenSamples,
                                                            MultiSampleType.TwelveSamples,
                                                            MultiSampleType.ThirteenSamples,
                                                            MultiSampleType.FourteenSamples,
                                                            MultiSampleType.FifteenSamples,
                                                            MultiSampleType.SixteenSamples });
        }

        /// <summary>
        /// Resets the possible present interval list
        /// </summary>
        public static void ResetPossiblePresentIntervalList()
        {
            presentIntervalList.Clear();
            presentIntervalList.AddRange(new PresentInterval[] {
                                                            PresentInterval.Immediate,
                                                            PresentInterval.Default,
                                                            PresentInterval.One,
                                                            PresentInterval.Two,
                                                            PresentInterval.Three,
                                                            PresentInterval.Four });
        }

        /// <summary>
        /// Set the minimum and maximum resolution items
        /// </summary>
        public static void SetResolutionMinMax(uint minWidth, uint minHeight, uint maxWidth, uint maxHeight)
        {
            minimumWidth = minWidth;
            minimumHeight = minHeight;
            maximumWidth = maxHeight;
            maximumWidth = maxWidth;
        }

        /// <summary>
        /// Sets the minimum and maximum refresh
        /// </summary>
        public static void SetRefreshMinMax(uint minRefresh, uint maxRefresh)
        {
            minimumRefresh = minRefresh;
            maximumRefresh = maxRefresh;
        }

        /// <summary>
        /// Property for MultisampleQualityMax
        /// </summary>
        public static uint MultisampleQualityMax
        {
            get { return multisampleQualityMax; }
            set 
            {
                if (value > 0xffff)
                    multisampleQualityMax = 0xffff;
                else
                    multisampleQualityMax = value;
            }
        }

        /// <summary>
        /// Allows the user to set if post pixel shader blending is required
        /// </summary>
        public static bool IsPostPixelShaderBlendingRequred
        {
            get { return isPostPixelShaderBlendingRequired; }
            set { isPostPixelShaderBlendingRequired = value; }
        }

        /// <summary>
        /// Allows the user to set if software vertex processing is available
        /// </summary>
        public static bool IsSoftwareVertexProcessingPossible
        {
            get { return isSoftwareVertexProcessing; }
            set { isSoftwareVertexProcessing = value; }
        }

        /// <summary>
        /// Allows the user to set if hardware vertex processing is available
        /// </summary>
        public static bool IsHardwareVertexProcessingPossible
        {
            get { return isHardwareVertexProcessing; }
            set { isHardwareVertexProcessing = value; }
        }

        /// <summary>
        /// Allows the user to set if pure hardware vertex processing is available
        /// </summary>
        public static bool IsPureHardwareVertexProcessingPossible
        {
            get { return isPureHardwareVertexProcessing; }
            set { isPureHardwareVertexProcessing = value; }
        }

        /// <summary>
        /// Allows the user to set if mixed vertex processing is available
        /// </summary>
        public static bool IsMixedVertexProcessingPossible
        {
            get { return isMixedVertexProcessing; }
            set { isMixedVertexProcessing = value; }
        }

        /// <summary>
        /// Allows the user to get the possible depth stencil formats
        /// </summary>
        public static ArrayList PossibleDepthStencilFormatList
        {
            get { return depthStencilPossibleList; }
        }

        /// <summary>
        /// Allows the user to get the possible multisample types
        /// </summary>
        public static ArrayList PossibleMultisampleTypeList
        {
            get { return multiSampleTypeList; }
        }

        /// <summary>
        /// Allows the user to get the possible present intervals
        /// </summary>
        public static ArrayList PossiblePresentIntervalsList
        {
            get { return presentIntervalList; }
        }

        /// <summary>
        /// Use this after Enumerate to get the list of adapter information
        /// </summary>
        public static ArrayList AdapterInformationList
        {
            get { return adapterInformationList; }
        }

        /// <summary>
        /// Get the adapter information for a specific adapter
        /// </summary>
        public static EnumAdapterInformation GetAdapterInformation(uint ordinal)
        {
            foreach(EnumAdapterInformation eai in adapterInformationList)
            {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩女优毛片在线| 日韩影院在线观看| 亚洲福利一区二区三区| 寂寞少妇一区二区三区| 色综合久久久久| 精品国产亚洲在线| 亚洲成精国产精品女| 国产成人精品免费视频网站| 欧美日韩精品久久久| 中文字幕精品一区二区精品绿巨人 | 日韩午夜激情视频| 一区二区在线观看免费视频播放 | 色偷偷久久一区二区三区| 欧美一级黄色片| 亚洲综合一区二区| www.欧美日韩| 中日韩av电影| 紧缚奴在线一区二区三区| 欧美女孩性生活视频| 亚洲激情网站免费观看| 成人激情黄色小说| 亚洲国产成人自拍| 国产乱码精品一区二区三区五月婷| 欧美精品久久久久久久久老牛影院| 亚洲图片你懂的| 成人精品免费看| 中文字幕av在线一区二区三区| 久久精品国产99久久6| 制服丝袜av成人在线看| 午夜国产精品影院在线观看| 欧洲av在线精品| 一区二区三区精品在线观看| 99v久久综合狠狠综合久久| 欧美国产精品一区| 岛国一区二区三区| 久久久久久免费网| 国产成人精品一区二区三区网站观看 | 国产欧美日本一区二区三区| 国产伦精品一区二区三区免费| 日韩精品一区二区三区四区| 蜜臀av一区二区在线免费观看 | 五月激情综合色| 91免费观看视频在线| 中文字幕一区av| 99国产精品视频免费观看| 最新久久zyz资源站| 成人午夜av在线| 日韩毛片视频在线看| 欧美性一级生活| 美国十次了思思久久精品导航| 欧美一级精品大片| 亚洲男女一区二区三区| 91看片淫黄大片一级| 亚洲欧美日韩国产中文在线| 国产做a爰片久久毛片| 精品国产免费人成电影在线观看四季 | 亚洲黄网站在线观看| 欧美亚洲国产一区在线观看网站| 亚洲免费观看高清在线观看| 在线免费不卡电影| 理论电影国产精品| 国产精品欧美极品| 欧美系列日韩一区| 日韩av网站在线观看| 久久精品男人的天堂| 色女孩综合影院| 秋霞影院一区二区| 中文字幕精品一区二区精品绿巨人 | 亚洲国产精品欧美一二99| 日韩精品中文字幕在线不卡尤物| 国产不卡一区视频| 亚洲影院久久精品| 久久久精品日韩欧美| 在线一区二区视频| 国产一区三区三区| 亚洲国产视频直播| 国产欧美日韩另类一区| 欧美日韩高清一区二区| 成人午夜av在线| 人人狠狠综合久久亚洲| 国产精品天干天干在观线| 欧美精品一级二级| av中文字幕不卡| 美日韩一级片在线观看| 亚洲欧美日韩在线不卡| 精品久久久久av影院| 色婷婷国产精品久久包臀| 韩国av一区二区三区四区| 亚洲国产视频一区二区| 欧美激情综合五月色丁香小说| 欧美日韩视频一区二区| jizz一区二区| 国产一区二区三区蝌蚪| 午夜国产精品一区| 亚洲免费看黄网站| 国产欧美一区二区三区在线老狼| 91精品国产91综合久久蜜臀| 97se亚洲国产综合自在线 | 日韩成人伦理电影在线观看| 国产精品国产三级国产普通话蜜臀| 精品日韩欧美一区二区| 欧美日韩免费电影| 色999日韩国产欧美一区二区| 成人中文字幕在线| 国产一区二区三区免费观看| 久久精品国产在热久久| 日韩精品色哟哟| 污片在线观看一区二区| 一区二区三区中文在线观看| 亚洲欧美一区二区三区孕妇| 国产亚洲一二三区| 久久久精品影视| 国产视频一区二区三区在线观看| 久久久久久久久久久久久久久99| 欧美一区2区视频在线观看| 91精品婷婷国产综合久久性色| 欧美日韩www| 91精品欧美综合在线观看最新| 91精品在线观看入口| 911精品国产一区二区在线| 欧美精品亚洲一区二区在线播放| 7799精品视频| 欧美大片在线观看一区二区| www国产亚洲精品久久麻豆| 日韩精品一区二区三区在线| xf在线a精品一区二区视频网站| 久久久美女毛片| 中国av一区二区三区| 亚洲色图欧美在线| 亚洲一区二区三区四区五区黄| 午夜精品视频在线观看| 日本欧美韩国一区三区| 国产一区欧美二区| 99久久免费精品| 欧美性受xxxx| 日韩欧美综合在线| 国产免费观看久久| 悠悠色在线精品| 亚洲成人av一区二区三区| 日韩制服丝袜先锋影音| 老司机精品视频线观看86| 国产成人亚洲精品狼色在线| 波多野结衣在线aⅴ中文字幕不卡| 91网站黄www| 91精品国产综合久久福利软件| 久久一区二区三区国产精品| 日韩理论在线观看| 免费成人av在线| 成人综合婷婷国产精品久久| 欧美亚洲一区三区| 久久老女人爱爱| 亚洲精品少妇30p| 蜜臀91精品一区二区三区| 国产91精品一区二区| 欧美中文字幕亚洲一区二区va在线| 日韩欧美成人一区| 综合在线观看色| 精品在线一区二区三区| 99精品视频一区二区| 日韩欧美高清dvd碟片| 日韩理论片网站| 国产乱子伦一区二区三区国色天香| 91麻豆国产自产在线观看| 日韩免费电影一区| 亚洲狠狠丁香婷婷综合久久久| 国产一区二三区| 欧美美女一区二区在线观看| 中文字幕免费不卡在线| 免费成人美女在线观看| 色婷婷综合久久久中文一区二区| 日韩欧美高清一区| 亚洲成人一区二区| av欧美精品.com| 精品1区2区在线观看| 性欧美疯狂xxxxbbbb| 色悠悠久久综合| 国产精品美女久久久久久| 精品中文字幕一区二区| 欧美麻豆精品久久久久久| 亚洲欧美日韩国产手机在线 | 蜜乳av一区二区| 欧美日本在线一区| 亚洲综合在线观看视频| av一区二区三区在线| 国产偷国产偷精品高清尤物| 美女久久久精品| 日韩欧美另类在线| 蜜桃视频在线一区| 制服.丝袜.亚洲.中文.综合| 午夜日韩在线观看| 在线观看日韩电影| 一区二区免费视频| 欧美亚洲自拍偷拍| 亚洲成a人v欧美综合天堂| 欧美视频在线观看一区二区| 亚洲激情五月婷婷| 欧美三级欧美一级| 天天综合天天综合色| 这里是久久伊人| 九九精品视频在线看|