Class MipmapGenerator
java.lang.Object
net.minecraft.client.renderer.texture.MipmapGenerator
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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_)
-
Field Details
-
POW22
private static final float[] POW22
-
-
Constructor Details
-
MipmapGenerator
public MipmapGenerator()
-
-
Method Details
-
generateMipLevels
-
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_)
-