Uses JSB constants for cc.Texture2d Pixel format