Adds the swizzle functionality from shader languages suchs a GLSL to javascript.