- Hands-On C++ Game Animation Programming
- Gabor Szauer
- 143字
- 2021-06-30 14:45:46
Chapter 1: Creating a Game Window
In this chapter, you will set up a simple Win32 window and bind an OpenGL context to it. You will be using OpenGL 3.3 Core throughout this book. The actual OpenGL code is going to be very minimal.
Most OpenGL-specific code will be abstracted into helper objects and functions, which will allow you to focus on animation rather than any specific graphics APIs. You will write the abstraction layer in Chapter 6, Building an Abstract Renderer, but for now, it's important to create a window ready to be drawn to.
By the end of this chapter, you should be able to do the following:
- Open a Win32 window
- Create and bind an OpenGL 3.3 Core context
- Use glad to load OpenGL 3.3 Core functions
- Enable vsynch for the created window
- Understand the downloadable samples for this book
推薦閱讀
- Servlet/JSP深入詳解
- QTP自動化測試進階
- HDInsight Essentials(Second Edition)
- Mastering Ext JS
- Learning Zurb Foundation
- Teaching with Google Classroom
- Kotlin編程實戰:創建優雅、富于表現力和高性能的JVM與Android應用程序
- 基于ARM Cortex-M4F內核的MSP432 MCU開發實踐
- C++反匯編與逆向分析技術揭秘(第2版)
- 創意UI Photoshop玩轉移動UI設計
- 數據科學中的實用統計學(第2版)
- LabVIEW數據采集
- Python面試通關寶典
- Python計算機視覺與深度學習實戰
- 程序員的英語