Files
notes/docs/lectures/graphics/02_opengl_glfw_glad.md
2026-10-04 15:24:17 +01:00

20 lines
360 B
Markdown

# 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. Set up objects to communicate with the shaders (OpenGL)
6. Render loop (OpenGL)
7. Deinitialisation (GLFW)