function ShaderStruct(name) {
  this.name = name;
  this.fields = [];
}
A utility for dynamically-generating a GLSL struct.

@alias ShaderStruct
@constructor

@see {@link ShaderBuilder}
@param {string} name The name of the struct as it will appear in the shader.
@example
// Generate the struct:
//
// struct Attributes
// {
//     vec3 position;
//     vec3 normal;
//     vec2 texCoord;
// };
const struct = new ShaderStruct("Attributes");
struct.addField("vec3", "position");
struct.addField("vec3", "normal");
struct.addField("vec2", "texCoord");
const generatedLines = struct.generateGlslLines();

@private