Class Stitcher


  • public class Stitcher
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • HOLDER_COMPARATOR

        private static final java.util.Comparator<Stitcher.Holder> HOLDER_COMPARATOR
      • mipLevel

        private final int mipLevel
      • texturesToBeStitched

        private final java.util.Set<Stitcher.Holder> texturesToBeStitched
      • storageX

        private int storageX
      • storageY

        private int storageY
      • maxWidth

        private final int maxWidth
      • maxHeight

        private final int maxHeight
    • Constructor Detail

      • Stitcher

        public Stitcher​(int p_i50910_1_,
                        int p_i50910_2_,
                        int p_i50910_3_)
    • Method Detail

      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • stitch

        public void stitch()
      • smallestFittingMinTexel

        private static int smallestFittingMinTexel​(int p_147969_0_,
                                                   int p_147969_1_)
      • addToStorage

        private boolean addToStorage​(Stitcher.Holder p_94310_1_)