Portal:OpenGL Shading Language/Interface Blocks: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Interface block summary
 
typo
 
Line 1: Line 1:
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 Object]]s.
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 whose storage comes from [[Buffer Object]]s.

Latest revision as of 05:00, 7 July 2017

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 whose storage comes from Buffer Objects.