borodust / cl-bodge

Feature-rich game framework for Common Lisp
http://borodust.org/projects/cl-bodge/
MIT License
174 stars 14 forks source link

Extract uniform names from programs #37

Closed borodust closed 7 years ago

borodust commented 8 years ago

Program should know about its uniforms.

Use GL introspection (GL_ACTIVE_UNIFORMS and Co.). https://www.opengl.org/wiki/Program_Introspection#Uniforms_and_blocks