@Environment(value=CLIENT) public class MipmapHelper extends Object
Modifier and Type | Field and Description |
---|---|
private static float[] |
COLOR_FRACTIONS |
Constructor and Description |
---|
MipmapHelper() |
Modifier and Type | Method and Description |
---|---|
private static int |
blend(int one,
int two,
int three,
int four,
boolean checkAlpha) |
private static int |
getColorComponent(int one,
int two,
int three,
int four,
int bits) |
private static float |
getColorFraction(int value) |
static NativeImage[] |
getMipmapLevelsImages(NativeImage image,
int mipmap) |
public static NativeImage[] getMipmapLevelsImages(NativeImage image, int mipmap)
private static int blend(int one, int two, int three, int four, boolean checkAlpha)
private static int getColorComponent(int one, int two, int three, int four, int bits)
private static float getColorFraction(int value)