|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.image.util.ColorMipMapGenerator
public class ColorMipMapGenerator
ColorMipMapGenerator
Constructor Summary | |
---|---|
ColorMipMapGenerator()
|
Method Summary | |
---|---|
static Image |
generateColorMipMap(int size,
ColorRGBA[] topColors,
ColorRGBA defaultColor)
Generates a jme Image object containing a mipmapped Image. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorMipMapGenerator()
Method Detail |
---|
public static Image generateColorMipMap(int size, ColorRGBA[] topColors, ColorRGBA defaultColor)
size
- dimensions of the texture (square)topColors
- initial colors to use for the mipmapsdefaultColor
- color to use for remaining mipmaps, scaled darker for each
successive mipmap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |