OpenGLPixelTransferParams upload = new OpenGLPixelTransferParams();
upload.type = 0xFFFFFFFF;
upload.format = 0xFFFFFFFF;
upload.blockByteCount = 0;
PixelDataType pixelDataType = getDataType(imageFormat, forceConvertBits);
if (pixelDataType.ordinal() >= PixelDataType.NUM_UNCOMPRESSED_TYPES.ordinal()) {
switch (pixelDataType) {
case COMPRESSED_BC1:
case COMPRESSED_UNSIGNED_BC4:
case COMPRESSED_SIGNED_BC4:
upload.blockByteCount = 8;