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

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.

主站蜘蛛池模板: 石棉县| 衡南县| 开封县| 壶关县| 桦南县| 郎溪县| 甘洛县| 新丰县| 北碚区| 石棉县| 长沙市| 徐汇区| 朔州市| 高雄市| 治县。| 朝阳区| 玉溪市| 望都县| 库尔勒市| 富川| 长宁县| 静安区| 黔江区| 库车县| 全南县| 华阴市| 古交市| 泸定县| 永和县| 诸暨市| 志丹县| 高邑县| 嵊泗县| 德保县| 曲周县| 涟源市| 石嘴山市| 海伦市| 罗山县| 恩平市| 石首市|