- Accessing Uniform Blocks from Your Application
- from OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition
- Publisher: Addison-Wesley Professional
- Released: March 2013
Uniforms not contained in an explicitly specified uniform block (ie. they are simply global variables outside any function), they are implicitly contained in a default uniform block which has a block index of -1.
Share this highlighthttp://www.safaribooksonline.com/a/opengl-programming-guide/5283/