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

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.

主站蜘蛛池模板: 邛崃市| 夹江县| 林甸县| 龙门县| 兰考县| 商河县| 宝兴县| 安义县| 资溪县| 聊城市| 望奎县| 台南县| 色达县| 荣成市| 东乡| 沙坪坝区| 吉木乃县| 伊通| 屏东县| 公安县| 嘉善县| 会宁县| 五大连池市| 桂平市| 潞西市| 土默特右旗| 夏邑县| 鄯善县| 江达县| 曲阜市| 金堂县| 合川市| 枞阳县| 大名县| 西林县| 宝清县| 穆棱市| 满洲里市| 南充市| 元江| 南雄市|