Hey, is there an easy way to copy all the data in an interface block from the input to the output? For example lets say in the geometry shader I have

Code :
in Vertex {
    vec4 color;
    vec3 camSpaceVert;
    vec3 camVector;
    vec3 norm;
    vec2 texCoord0;
} vVertIn[];
 
out Vertex {
    vec4 color;
    vec3 camSpaceVert;
    vec3 camVector;
    vec3 norm;
    vec2 texCoord0;
} vVertOut;


The geometry shader is only changing the gl_Position values (and doing layered rendering) so all of the input data just needs to be copied for every vertex. Is there a way to do the full copy implicitly or do I need to copy each member individually? This becomes cumbersome as members are added/removed from the inputs/outputs.

This doesn't work:
Code :
vVertOut = vVertIn[i];

Thoughts? Thanks.