Class MipmapGenerator

java.lang.Object
net.minecraft.client.renderer.texture.MipmapGenerator

public class MipmapGenerator extends Object
  • Field Details

    • ALPHA_CUTOUT_CUTOFF

      private static final int ALPHA_CUTOUT_CUTOFF
      See Also:
    • POW22

      private static final float[] POW22
  • Constructor Details

    • MipmapGenerator

      private MipmapGenerator()
  • Method Details

    • generateMipLevels

      public static NativeImage[] generateMipLevels(NativeImage[] p_251300_, int p_252326_)
    • hasTransparentPixel

      private static boolean hasTransparentPixel(NativeImage p_252279_)
    • alphaBlend

      private static int alphaBlend(int p_118049_, int p_118050_, int p_118051_, int p_118052_, boolean p_118053_)
    • gammaBlend

      private static int gammaBlend(int p_118043_, int p_118044_, int p_118045_, int p_118046_, int p_118047_)
    • getPow22

      private static float getPow22(int p_118041_)