What is a Layout qualifier?
What is a Layout qualifier?
Layout Qualifiers affect where the storage for a variable comes from, as well as other user-facing properties of a particular definition.
For instance:
layout (location=0) in vec3 position;
means that no matter what "position" is called, it is still the same variable.