Package fcagnin.jglsdk.glimg.ImageFormat

Examples of fcagnin.jglsdk.glimg.ImageFormat.PixelDataType.ordinal()


    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;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.