<tfoot id='p9zKn'></tfoot>

  1. <legend id='p9zKn'><style id='p9zKn'><dir id='p9zKn'><q id='p9zKn'></q></dir></style></legend>
    • <bdo id='p9zKn'></bdo><ul id='p9zKn'></ul>

  2. <small id='p9zKn'></small><noframes id='p9zKn'>

    1. <i id='p9zKn'><tr id='p9zKn'><dt id='p9zKn'><q id='p9zKn'><span id='p9zKn'><b id='p9zKn'><form id='p9zKn'><ins id='p9zKn'></ins><ul id='p9zKn'></ul><sub id='p9zKn'></sub></form><legend id='p9zKn'></legend><bdo id='p9zKn'><pre id='p9zKn'><center id='p9zKn'></center></pre></bdo></b><th id='p9zKn'></th></span></q></dt></tr></i><div id='p9zKn'><tfoot id='p9zKn'></tfoot><dl id='p9zKn'><fieldset id='p9zKn'></fieldset></dl></div>

      获取显卡型号?

      Get the graphics card model?(获取显卡型号?)
      <legend id='ZCHKp'><style id='ZCHKp'><dir id='ZCHKp'><q id='ZCHKp'></q></dir></style></legend>

          <tfoot id='ZCHKp'></tfoot>

          <i id='ZCHKp'><tr id='ZCHKp'><dt id='ZCHKp'><q id='ZCHKp'><span id='ZCHKp'><b id='ZCHKp'><form id='ZCHKp'><ins id='ZCHKp'></ins><ul id='ZCHKp'></ul><sub id='ZCHKp'></sub></form><legend id='ZCHKp'></legend><bdo id='ZCHKp'><pre id='ZCHKp'><center id='ZCHKp'></center></pre></bdo></b><th id='ZCHKp'></th></span></q></dt></tr></i><div id='ZCHKp'><tfoot id='ZCHKp'></tfoot><dl id='ZCHKp'><fieldset id='ZCHKp'></fieldset></dl></div>

            <small id='ZCHKp'></small><noframes id='ZCHKp'>

              <tbody id='ZCHKp'></tbody>
            • <bdo id='ZCHKp'></bdo><ul id='ZCHKp'></ul>

              1. 本文介绍了获取显卡型号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我想知道如何从代码中获取显卡型号/品牌,尤其是从 DirectX 9.0c(从 C++ 代码中).

                I was wondering how I can get the graphics card model/brand from code particularly from DirectX 9.0c (from within C++ code).

                推荐答案

                在运行时,可以查询设备型号和供应商:

                At runtime, you can query the device model and vendor:

                • 在 OpenGL 中,使用命令 glGetString(GL_VENDOR) 或 GL_RENDERER 或 GL_VERSION 来获取您想要的信息.

                • In OpenGL, use the command glGetString(GL_VENDOR) or GL_RENDERER or GL_VERSION to get the information you're after.

                在 DirectX 9 中,信息似乎在 Microsoft 配置系统中,并从设备数据库中查询.这是本文档的第 3 部分,其中还有示例代码:http://msdn.microsoft.com/en-us/library/bb204848(VS.85).aspx使用相同的系统,您可以获得诸如视频卡的内存数量、驱动程序编号等信息.

                In DirectX 9, it appears the info is in the Microsoft config system, and is queried from the device database. It's section 3 of this document, which also has example code: http://msdn.microsoft.com/en-us/library/bb204848(VS.85).aspx Using the same system you can get such information as the amount of ram the video card has, the driver number, etc.

                这篇关于获取显卡型号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Constructor initialization Vs assignment(构造函数初始化 Vs 赋值)
                Is a `=default` move constructor equivalent to a member-wise move constructor?(`=default` 移动构造函数是否等同于成员移动构造函数?)
                Has the new C++11 member initialization feature at declaration made initialization lists obsolete?(声明时新的 C++11 成员初始化功能是否使初始化列表过时了?)
                Order of constructor call in virtual inheritance(虚继承中构造函数调用的顺序)
                How to use sfinae for selecting constructors?(如何使用 sfinae 选择构造函数?)
                Initializing a union with a non-trivial constructor(使用非平凡的构造函数初始化联合)

                    <i id='f2iHH'><tr id='f2iHH'><dt id='f2iHH'><q id='f2iHH'><span id='f2iHH'><b id='f2iHH'><form id='f2iHH'><ins id='f2iHH'></ins><ul id='f2iHH'></ul><sub id='f2iHH'></sub></form><legend id='f2iHH'></legend><bdo id='f2iHH'><pre id='f2iHH'><center id='f2iHH'></center></pre></bdo></b><th id='f2iHH'></th></span></q></dt></tr></i><div id='f2iHH'><tfoot id='f2iHH'></tfoot><dl id='f2iHH'><fieldset id='f2iHH'></fieldset></dl></div>

                  • <legend id='f2iHH'><style id='f2iHH'><dir id='f2iHH'><q id='f2iHH'></q></dir></style></legend>
                      <tfoot id='f2iHH'></tfoot>
                        <bdo id='f2iHH'></bdo><ul id='f2iHH'></ul>

                        <small id='f2iHH'></small><noframes id='f2iHH'>

                          <tbody id='f2iHH'></tbody>