Zomon333 / SadBoat-Engine

I was listening to someone play ukelele and it made me want to program a platformer. This is that.
3 stars 0 forks source link

Create Uniform class #11

Closed Zomon333 closed 2 years ago

Zomon333 commented 2 years ago

Create a class to handle the accessing of OpenGL Uniforms from the main program. To get a Uniform's location:

Needs control to understand the difference between:

This will make a good reference for all the access types

Zomon333 commented 2 years ago

We'll probably also want:

There's something to be said about pluralization of the caching features for use in uniform blocks. Uniform blocks will likely be it's own class, though. Consider: