defglstruct now has options to limit what code is written, for example
you can set for it to define a foriegn type but not the glsl version.
This change is backward compatible to no other changes needed