You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-43Lines changed: 57 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,23 @@
2
2
*Examples of DSA OpenGL*
3
3
4
4
## Description
5
-
These are a collection of examples of modern OpenGL using Direct Sate Access (DSA).
6
-
They are mostly API examples but some have interesting graphical output.
5
+
The evolution of OpenGL basically goes like this:
6
+
Immediate mode -> Modern OpenGL (3.0+) -> [Direct State Access](https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_direct_state_access.txt) -> Vulkan.
7
+
8
+
Direct State Access in OpenGL provides a nice balance between verbosity and control. In particular, getting rid of the “state-machine” construct makes programming feel more similar to C++.
9
+
10
+
Early OpenGL does not provide enough control to the user, but Vulkan can make getting started with graphics very intimidating and prototyping / experimenting with the GPU challenging.
11
+
12
+
13
+
The examples contained in this repo examine many, but not all, of the DSA OpenGL techniques, and use almost, but not but not quite, exclusively, use DSA. There is still a lot more to cover.
14
+
15
+
A very small amount of redundant code was abstracted in the `base_app` class. This takes care of loading shaders and setting up a window.
16
+
17
+
Most of the examples in this project are API examples with limited graphical output, but there is some interesting graphical output.
0 commit comments