Portal:OpenGL Shading Language/Interface Blocks: Difference between revisions
Jump to navigation
Jump to search
Interface block summary |
(No difference)
|
Revision as of 06:04, 25 July 2013
Global variables of certain kinds of storage qualifiers can be aggregated into Interface Blocks. These blocks group all of these variables under a certain name. This allows different stages to more easily communicate, as these groups of variables can often be aggregated into arrays. Interface blocks are also used for aggregating large data structures who's storage comes from Buffer Objects.