Original Post
Hello,
Quick question. I've made a shader program wrapper that does what you'd expect, but I'm not sure how to tackle all the different opengl functions for 'glSetUniform*'. For example to add to the api every single call feels messy and cluttered, is there a better way I am missing?
For all the different uniform functions: http://www.opengl.org/sdk/docs/man3/ -> glUniform
Thanks
Quick question. I've made a shader program wrapper that does what you'd expect, but I'm not sure how to tackle all the different opengl functions for 'glSetUniform*'. For example to add to the api every single call feels messy and cluttered, is there a better way I am missing?
For all the different uniform functions: http://www.opengl.org/sdk/docs/man3/ -> glUniform
Thanks