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_118055_, int p_118056_) private static float
getPow22
(int p_118041_)
-
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
-
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_)
-