Examples of PixelDataType


Examples of com.ardor3d.image.PixelDataType

        }
        if (image == null) {
            throw new Error("Unable to guess format type... Image is null.");
        }

        final PixelDataType type = image.getDataType();
        final ImageDataFormat dataFormat = image.getDataFormat();
        switch (dataFormat) {
            case ColorIndex:
            case BGRA:
            case RGBA:
View Full Code Here

Examples of fcagnin.jglsdk.glimg.ImageFormat.PixelDataType

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

Examples of fcagnin.jglsdk.glimg.ImageFormat.PixelDataType

      GL_RGBA8UI,  GL_RGBA16UI,  GL_RGBA32UI,
  };
 
 
  private static int getStandardOpenGLFormat(ImageFormat imageFormat, int forceConvertBits) {
    PixelDataType pixelDataType = getDataType(imageFormat, forceConvertBits);

    switch (pixelDataType) {
    case NORM_UNSIGNED_INTEGER:
      // Only 16-bit for non Depth_x.
      if (imageFormat.getPixelComponents() == PixelComponents.DEPTH) {
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.