public static IntPtr MpvrCompressPvrTexture(IntPtr pData, int width, int height, int stride, int mipLevels, PixelType pixelType, [MarshalAs(UnmanagedType.Bool)] bool isPremultiplied, out IntPtr ppDataSizes) { if (Is64Bit) { return(X64.MpvrCompressPvrTexture(pData, width, height, stride, mipLevels, pixelType, isPremultiplied, out ppDataSizes)); } else { return(X86.MpvrCompressPvrTexture(pData, width, height, stride, mipLevels, pixelType, isPremultiplied, out ppDataSizes)); } }