Class MipmapGenerator
java.lang.Object
net.minecraft.client.renderer.texture.MipmapGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final float[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
alphaBlend
(int p_118049_, int p_118050_, int p_118051_, int p_118052_, boolean p_118053_) private static int
gammaBlend
(int p_118043_, int p_118044_, int p_118045_, int p_118046_, int p_118047_) static NativeImage[]
generateMipLevels
(NativeImage[] p_251300_, int p_252326_) private static float
getPow22
(int p_118041_) private static boolean
hasTransparentPixel
(NativeImage p_252279_)
-
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
-
hasTransparentPixel
-
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_)
-