org.jagatoo.loaders.textures
Class MipmapGenerator

java.lang.Object
  extended by org.jagatoo.loaders.textures.MipmapGenerator

public class MipmapGenerator
extends java.lang.Object

Generates Mipmaps for a Texture.


Constructor Summary
MipmapGenerator()
           
 
Method Summary
static void createMipMaps(AbstractTextureImage ti0, AbstractTexture tex, TextureFactory texFactory)
          Creates mipmaps from the given AbstractTextureImage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MipmapGenerator

public MipmapGenerator()
Method Detail

createMipMaps

public static void createMipMaps(AbstractTextureImage ti0,
                                 AbstractTexture tex,
                                 TextureFactory texFactory)
Creates mipmaps from the given AbstractTextureImage.

Parameters:
ti0 - the base-image
tex - the target-texture.