1 2 3 4 5 6 7
layout(std140) struct Camera { mat4 view_proj; }; layout(std140) struct Player { vec3 pos, speed; };