Class MipmapGenerator


  • public class MipmapGenerator
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static float[] POW22  
    • Constructor Summary

      Constructors 
      Constructor Description
      MipmapGenerator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static int alphaBlend​(int p_229172_0_, int p_229172_1_, int p_229172_2_, int p_229172_3_, boolean p_229172_4_)  
      private static int gammaBlend​(int p_229171_0_, int p_229171_1_, int p_229171_2_, int p_229171_3_, int p_229171_4_)  
      static NativeImage[] generateMipLevels​(NativeImage p_229173_0_, int p_229173_1_)  
      private static float getPow22​(int p_229170_0_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • POW22

        private static final float[] POW22
    • Constructor Detail

      • MipmapGenerator

        public MipmapGenerator()
    • Method Detail

      • generateMipLevels

        public static NativeImage[] generateMipLevels​(NativeImage p_229173_0_,
                                                      int p_229173_1_)
      • alphaBlend

        private static int alphaBlend​(int p_229172_0_,
                                      int p_229172_1_,
                                      int p_229172_2_,
                                      int p_229172_3_,
                                      boolean p_229172_4_)
      • gammaBlend

        private static int gammaBlend​(int p_229171_0_,
                                      int p_229171_1_,
                                      int p_229171_2_,
                                      int p_229171_3_,
                                      int p_229171_4_)
      • getPow22

        private static float getPow22​(int p_229170_0_)