2,561
edits
Line 216: | Line 216: | ||
= Global Storage Qualifiers = | = Global Storage Qualifiers = | ||
Used for communication between shaders and application: | |||
* const - for declaring non-writable, compile-time constant variables | * const - for declaring non-writable, compile-time constant variables | ||
* attribute - For frequently changing (per vertex) information passed from the application to a vertex shader (no integers, bools, structs, or arrays) | * attribute - For frequently changing (per vertex) information passed from the application to a vertex shader (no integers, bools, structs, or arrays) |
edits