Lines Matching refs:totalSize

433      * @param totalSize Total size of the image in bytes including the mipmaps
437 public ByteBuffer readGrayscale2D(boolean flip, int totalSize) throws IOException {
438 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
468 * @param totalSize Size of the image in bytes including mipmaps
472 public ByteBuffer readRGB2D(boolean flip, int totalSize) throws IOException {
489 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize);
534 * @param totalSize Total size of the image in bytes, including mipmaps
538 public ByteBuffer readDXT2D(boolean flip, int totalSize) throws IOException {
541 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
571 * @param totalSize Total size of the image in bytes including the mipmaps
575 public ByteBuffer readGrayscale3D(boolean flip, int totalSize) throws IOException {
576 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize * depth);
609 * @param totalSize Size of the image in bytes including mipmaps
613 public ByteBuffer readRGB3D(boolean flip, int totalSize) throws IOException {
630 ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize * depth);
633 // ByteBuffer dataBuffer = BufferUtils.createByteBuffer(totalSize);
636 int offset = k * totalSize;
677 * @param totalSize Total size of the image in bytes, including mipmaps
681 public ByteBuffer readDXT3D(boolean flip, int totalSize) throws IOException {
684 ByteBuffer bufferAll = BufferUtils.createByteBuffer(totalSize * depth);
687 ByteBuffer buffer = BufferUtils.createByteBuffer(totalSize);
730 int totalSize = 0;
733 totalSize += sizes[i];
740 allMaps.add(readDXT2D(flip, totalSize));
742 allMaps.add(readGrayscale2D(flip, totalSize));
744 allMaps.add(readRGB2D(flip, totalSize));
749 allMaps.add(readDXT3D(flip, totalSize));
751 allMaps.add(readGrayscale3D(flip, totalSize));
753 allMaps.add(readRGB3D(flip, totalSize));
758 allMaps.add(readDXT2D(flip, totalSize));
760 allMaps.add(readGrayscale2D(flip, totalSize));
762 allMaps.add(readRGB2D(flip, totalSize));