public class MipmapGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static float[] |
POWS22 |
Constructor and Description |
---|
MipmapGenerator() |
Modifier and Type | Method and Description |
---|---|
private static int |
alphaBlend(int col1,
int col2,
int col3,
int col4,
boolean transparent) |
private static int |
gammaBlend(int col1,
int col2,
int col3,
int col4,
int bitOffset) |
static NativeImage[] |
generateMipmaps(NativeImage imageIn,
int mipmapLevelsIn) |
private static float |
getPow22(int valIn) |
public static NativeImage[] generateMipmaps(NativeImage imageIn, int mipmapLevelsIn)
private static int alphaBlend(int col1, int col2, int col3, int col4, boolean transparent)
private static int gammaBlend(int col1, int col2, int col3, int col4, int bitOffset)
private static float getPow22(int valIn)