r2: glsl structure