Nadradený pojem:
layout (location = integer-constant)
layout (location = 0) in vec3 vPos;
This will establish that the vertex shader input vPos is copied in from location number 0. Recall the generic vertex attribute is configured when setting up the VBO, through the call glVertexAttribPointer.