Closed Zomon333 closed 2 years ago
Completion of Chapter 2 Notes:
More data may follow. BufferBlocks also exist but looks like they'll benefit from being a child of the InterfaceBlock class. We may also just rename this to UniformBlock because I don't see any other blocks other than Buffer that require a C++ implementation.
We'll need to use interface blocks extensively in our OpenGL implementation. We should have a class to abstract the usage of them. This class will likely be a parent class of various other Blocks like UniformBlocks.
We may have a desire to store individual Shader Variables in the InterfaceBlock class as member variables using a template. Discuss.
More details will follow upon completion of Chapter 2 notes.