Texture wrap and swizzle support added