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:
      Constant Field Values
    • POW22

      private static final float[] POW22
  • Constructor Details

    • MipmapGenerator

      private MipmapGenerator()
  • Method Details

    • generateMipLevels

      public static NativeImage[] generateMipLevels(NativeImage p_118055_, int p_118056_)
    • 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_)