Add the rest of university notes
This commit is contained in:
366 files changed
+9844
-110
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# OpenGL, GLFW and GLSL
|
||||
|
||||
#### Structure of a graphics program
|
||||
|
||||
1. Make a window and a context
|
||||
|
||||
- This is OS specific, therefore we need GLFW to set this up for us
|
||||
|
||||
2. Load all OpenGL methods (GLAD)
|
||||
|
||||
3. Compile shaders
|
||||
|
||||
4. Specify vertices (C)
|
||||
|
||||
5. Setup objects to communicate to the shaders (OpenGL)
|
||||
|
||||
6. Render loop (OpenGL)
|
||||
|
||||
7. Deinitialisation (GLFW)
|
||||
|
||||
Reference in new issue
Block a user