官术网_书友最值得收藏!

Getting glad

You can get glad from https://glad.dav1d.de/, a web-based generator:

  1. Go to the site, select Version 3.3 from the gl dropdown, and select Core from the Profile dropdown:
    Figure 1.4: Configuring glad

    Figure 1.4: Configuring glad

  2. Scroll to the bottom and hit the Generate button. This should start downloading a ZIP file that contains all of the required code.

The code presented in this book is forward compatible with OpenGL version 3.3 or a more recent version. If you want to use a newer OpenGL version, such as 4.6, change the gl dropdown under API to the desired version. You will be adding the contents of this ZIP file to your main project in the next section.

主站蜘蛛池模板: 穆棱市| 新绛县| 安陆市| 乌兰浩特市| 从江县| 太谷县| 鸡西市| 乐安县| 海宁市| 霞浦县| 清徐县| 天峻县| 玉环县| 溧阳市| 长子县| 华蓥市| 辰溪县| 泗洪县| 伊宁市| 垦利县| 肥西县| 罗甸县| 温州市| 河池市| 天镇县| 上虞市| 商河县| 乡宁县| 嫩江县| 光山县| 清镇市| 湘西| 康平县| 扎兰屯市| 嘉禾县| 融水| 两当县| 高邑县| 五台县| 台东市| 峨山|